# 2041: Minor test changes

This commit is contained in:
Nick Todd
2023-11-23 10:04:52 +00:00
parent 006a37d268
commit 8584fa8f51
3 changed files with 7 additions and 5 deletions

View File

@@ -58,7 +58,9 @@ def test_ntp_client_server():
ntp_request = NTPRequest(ntp_client="192.168.1.3")
ntp_packet = NTPPacket(ntp_request=ntp_request)
ntp_client.send(payload=ntp_packet)
# ntp_client.send(payload=ntp_packet)
ntp_client.request_time("192.168.1.3")
assert ntp_server.receive(payload=ntp_packet) is True
assert ntp_client.receive(payload=ntp_packet) is True
assert ntp_client.time is not None