tests: mock more things in secondary hobo cook test
This commit is contained in:
parent
f57c8a7718
commit
c83ef92a3a
|
@ -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,
|
def test_create_hobo_not_primary(mocked_TenantMiddleware, mocked_call_command,
|
||||||
mocked_connection):
|
mocked_connection):
|
||||||
command = Command()
|
command = Command()
|
||||||
|
command.timeout = 42
|
||||||
|
command.wait_operationals = Mock()
|
||||||
command.create_site = Mock()
|
command.create_site = Mock()
|
||||||
tenant = Mock()
|
tenant = Mock()
|
||||||
tenant.schema_name = 'other than public'
|
tenant.schema_name = 'other than public'
|
||||||
|
|
Loading…
Reference in New Issue