diff --git a/src/runtests/lanservertest.py b/src/runtests/lanservertest.py index 3154f338..1d54b5bd 100644 --- a/src/runtests/lanservertest.py +++ b/src/runtests/lanservertest.py @@ -28,7 +28,7 @@ def test_lan_server(testmanager): if (bl in l and bl2 in l and bl3 in l) or len(l) == 0: logger.error('Failed to get appopriate time' + '-'.join(l), terminal=True) raise ValueError - if onionrblockapi.Block(bl).raw != requests.get(f"http://{best_ip}:{i}/get/{bl}").content: + if onionrblockapi.Block(bl).raw != requests.get(f"http://{best_ip}:{i}/get/{bl}", stream=True).raw.read(6000000): raise ValueError break