fix lan server test not using raw
parent
7205189d62
commit
c9a6769be7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue