mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-12 14:08:28 +02:00
Update test_pool.py
This commit is contained in:
parent
825d07ba7c
commit
d4633aeef2
1 changed files with 1 additions and 2 deletions
|
@ -170,8 +170,7 @@ class TestConnectionPool(TestCase):
|
||||||
patch.object(EPPConnectionPool, "_create_socket", self.fake_socket)
|
patch.object(EPPConnectionPool, "_create_socket", self.fake_socket)
|
||||||
)
|
)
|
||||||
stack.enter_context(patch.object(Socket, "connect", fake_client))
|
stack.enter_context(patch.object(Socket, "connect", fake_client))
|
||||||
# Restart the connection pool, since it starts on app startup
|
|
||||||
registry.start_connection_pool()
|
|
||||||
# Pool should be running
|
# Pool should be running
|
||||||
self.assertEqual(registry.pool_status.connection_success, True)
|
self.assertEqual(registry.pool_status.connection_success, True)
|
||||||
self.assertEqual(registry.pool_status.pool_running, True)
|
self.assertEqual(registry.pool_status.pool_running, True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue