Skip to content

Commit 9c05a09

Browse files
committed
unit tests
1 parent 0e37077 commit 9c05a09

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

test/unit/api/test_phone_number_lookup_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_create_sync_lookup(self) -> None:
8282
"""
8383
request = SyncLookupRequest(
8484
phone_numbers = [USER_NUMBER, BW_NUMBER],
85+
rcs_agent = 'TestAgent'
8586
)
8687

8788
response = self.api.create_sync_lookup_with_http_info(BW_ACCOUNT_ID, request)

test/unit/models/test_sync_lookup_request.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def make_instance(self, include_optional) -> SyncLookupRequest:
3535
return SyncLookupRequest(
3636
phone_numbers = [
3737
'+680728880015'
38-
]
38+
],
39+
rcs_agent = 'TestAgent'
3940
)
4041
else:
4142
return SyncLookupRequest(
@@ -50,6 +51,7 @@ def testSyncLookupRequest(self):
5051
assert instance is not None
5152
assert isinstance(instance, SyncLookupRequest)
5253
assert instance.phone_numbers == ['+680728880015']
54+
assert instance.rcs_agent == 'TestAgent'
5355

5456
if __name__ == '__main__':
5557
unittest.main()

0 commit comments

Comments
 (0)