fix lan server test not using raw

This commit is contained in:
Kevin 2020-06-19 01:29:47 -05:00
parent 7205189d62
commit c9a6769be7
1 changed files with 1 additions and 1 deletions

View File

@ -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