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
a744b9407f
commit
b8dfe0b8f0
1 changed files with 6 additions and 4 deletions
|
@ -182,6 +182,8 @@ class TestConnectionPool(TestCase):
|
||||||
|
|
||||||
# Try to send a command out - should fail
|
# Try to send a command out - should fail
|
||||||
with self.assertRaises(RegistryError):
|
with self.assertRaises(RegistryError):
|
||||||
expected_message = "InfoDomain failed to execute due to a connection error."
|
expected = "InfoDomain failed to execute due to a connection error."
|
||||||
result = registry.send(commands.InfoDomain(name="test.gov"), cleaned=True)
|
result = registry.send(
|
||||||
self.assertEqual(result, expected_message)
|
commands.InfoDomain(name="test.gov"), cleaned=True
|
||||||
|
)
|
||||||
|
self.assertEqual(result, expected)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue