Format sequential number into an 8 char long hex

As per Vodafone spec for ibag format message number
This commit is contained in:
Pea Tyczynska
2020-12-04 16:00:20 +00:00
parent b34bffaae6
commit a186d2d296
4 changed files with 17 additions and 4 deletions

View File

@@ -303,6 +303,7 @@ def test_trigger_link_tests_invokes_cbc_proxy_client(
# testing sequential number:
if provider == 'vodafone':
assert type(mock_send_link_test.mock_calls[0][1][1]) is int
assert type(mock_send_link_test.mock_calls[0][1][1]) is str
assert len(mock_send_link_test.mock_calls[0][1][1]) == 8
else:
assert not mock_send_link_test.mock_calls[0][1][1]