Skip to content

Commit

Permalink
Merge pull request #2 from Ostorlab/fix_unittest_argparsin
Browse files Browse the repository at this point in the history
Fix Unittests : Mock healthcheck method
  • Loading branch information
3asm authored May 1, 2022
2 parents 87bfdb0 + 73eab65 commit 408dd86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from agent import ip2geo_agent

@pytest.fixture(scope='function', name='ip2geo_agent')
def fixture_io2geo_agent():
def fixture_io2geo_agent(agent_mock):
with (pathlib.Path(__file__).parent.parent / 'ostorlab.yaml').open() as yaml_o:
definition = agent_definitions.AgentDefinition.from_yaml(yaml_o)
settings = runtime_definitions.AgentSettings(
Expand Down

0 comments on commit 408dd86

Please sign in to comment.