From cd0f82d9ad0e22bcdcc3fc5b98e1b228de8eb474 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 13 Jan 2025 15:42:32 +0100 Subject: [PATCH] Updated tests --- tests/link.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/link.py b/tests/link.py index 5cc8ca3..90361dc 100644 --- a/tests/link.py +++ b/tests/link.py @@ -333,7 +333,7 @@ class TestLink(unittest.TestCase): resource_size = 5*1000*1000 data = os.urandom(resource_size) print("Sending "+self.size_str(resource_size)+" resource...") - resource = RNS.Resource(data, l1, timeout=resource_timeout) + resource = RNS.Resource(data, l1, timeout=resource_timeout, auto_compress=False) start = time.time() # This is a hack, don't do it. Use the callbacks instead. @@ -380,7 +380,7 @@ class TestLink(unittest.TestCase): resource_size = 50*1000*1000 data = os.urandom(resource_size) print("Sending "+self.size_str(resource_size)+" resource...") - resource = RNS.Resource(data, l1, timeout=resource_timeout, callback=self.lr_callback) + resource = RNS.Resource(data, l1, timeout=resource_timeout, callback=self.lr_callback, auto_compress=False) start = time.time() TestLink.large_resource_status = resource.status