From f369bbe4342b5ae549f003f19dd89775a70a324d Mon Sep 17 00:00:00 2001 From: Florin Barbu Date: Tue, 11 Jun 2024 20:30:55 +0300 Subject: [PATCH] new tests --- tests/test_contact_request.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_contact_request.py b/tests/test_contact_request.py index ecccaca1..e873bc6a 100644 --- a/tests/test_contact_request.py +++ b/tests/test_contact_request.py @@ -35,3 +35,12 @@ class TestContacRequest(StepsCommon): missing_contact_requests.append((timestamp, contact_request_message, message_id)) assert not missing_contact_requests, "Some contact requests didn't reach the peer node" + + def test_contact_request_with_latency(self, add_latency): + self.test_contact_request_baseline() + + def test_contact_request_with_packet_loss(self, add_packet_loss): + self.test_contact_request_baseline() + + def test_contact_request_with_low_bandwith(self, add_low_bandwith): + self.test_contact_request_baseline()