Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WillDaSilva authored and dependabot[bot] committed Apr 12, 2023
1 parent 3c0729c commit ae03143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/meltano/core/behavior/test_hookable.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def test_trigger_hook(self):
"after_test",
"after_test_2",
]
assert process.called_once
process.assert_called_once()

@pytest.mark.asyncio()
async def test_trigger_hook_raise(self):
Expand All @@ -86,4 +86,4 @@ async def test_trigger_derived_hook(self):
"after_test",
"after_test_2",
]
assert process.called_once
process.assert_called_once()
2 changes: 1 addition & 1 deletion tests/meltano/core/plugin/singer/test_tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ async def test_run_discovery(
catalog_path = invoker.files["catalog"]

await subject.run_discovery(invoker, catalog_path)
assert await invoke_async.called_with(["--discover"])
invoke_async.called_with(["--discover"])

with catalog_path.open("r") as catalog_file:
resp = json.load(catalog_file)
Expand Down

0 comments on commit ae03143

Please sign in to comment.