mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +02:00
split message and apply to more scenarios
This commit is contained in:
parent
7a935d11fc
commit
72f256e0b8
2 changed files with 6 additions and 8 deletions
|
@ -311,9 +311,10 @@ class TestClient(TestCase):
|
|||
# send() is called 5 times: send(login), send(command) fail, send(logout), send(login), send(command)
|
||||
self.assertEquals(mock_send.call_count, 5)
|
||||
# Assertion proper logging; note that the
|
||||
mock_logger.info.assert_called_once_with(
|
||||
"InfoDomainCommand failed and will be retried Error: Registrar is not logged in.| cltrid is cl_tr_id svtrid is sv_tr_id"
|
||||
mock_logger.info.assert_any_call(
|
||||
"InfoDomainCommand failed and will be retried Error: Registrar is not logged in."
|
||||
)
|
||||
mock_logger.info.assert_any_call("cltrid is cl_tr_id svtrid is sv_tr_id")
|
||||
|
||||
@less_console_noise_decorator
|
||||
def fake_failure_send_concurrent_threads(self, command=None, cleaned=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue