From c83ef92a3ada9e45d96615cee3d8716036562d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 4 Jun 2019 15:42:03 +0200 Subject: [PATCH] tests: mock more things in secondary hobo cook test --- tests/test_cook.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_cook.py b/tests/test_cook.py index ce9bf11..fa0f43c 100644 --- a/tests/test_cook.py +++ b/tests/test_cook.py @@ -323,6 +323,8 @@ def test_create_hobo_primary(mocked_TenantMiddleware, mocked_call_command, def test_create_hobo_not_primary(mocked_TenantMiddleware, mocked_call_command, mocked_connection): command = Command() + command.timeout = 42 + command.wait_operationals = Mock() command.create_site = Mock() tenant = Mock() tenant.schema_name = 'other than public'