Skip to content

Commit

Permalink
fix import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 1, 2023
1 parent ee1a338 commit ee0c78c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ssh/test_start_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ def tearDown(self):
self._patch_db.stop()
self._patch_listen.stop()

@patch("xthulu.configuration.config", test_config)
@patch("xthulu.config", test_config)
def test_db_bind(self):
run_coroutine(start_server())

set_bind: AsyncMock = self.mock_db.set_bind
set_bind.assert_awaited_once_with("test")

@patch("xthulu.configuration.config", test_config)
@patch("xthulu.config", test_config)
def test_server_args(self):
run_coroutine(start_server())

Expand All @@ -62,7 +62,7 @@ def test_server_args(self):
)

@patch(
"xthulu.configuration.config",
"xthulu.config",
{
**test_config,
"ssh": {**test_ssh_config, "proxy_protocol": True},
Expand Down

0 comments on commit ee0c78c

Please sign in to comment.