Skip to content

Commit

Permalink
Fixed broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
theypsilon committed Feb 16, 2025
1 parent ae493f9 commit 6aab451
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/system/slow/test_http_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ def tearDown(self) -> None:
shutil.rmtree(self.dir_path)

def test_http_gateway_with_distribution_mister_urls___gets_500_files(self):
logger = PrintLogger(int(time.time()))
with HttpGateway(ssl_ctx=ssl.create_default_context(), timeout=180, logger=logger) as gateway:
with HttpGateway(ssl_ctx=ssl.create_default_context(), timeout=180, logger=PrintLogger()) as gateway:
with tempfile.NamedTemporaryFile() as temp_file, gateway.open(DISTRIBUTION_MISTER_DB_URL) as (url, res):
shutil.copyfileobj(res, temp_file)
db = load_json_from_zip(temp_file.name)
Expand Down

0 comments on commit 6aab451

Please sign in to comment.