Skip to content

Commit

Permalink
tests: only show errors in test_files
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Dec 25, 2024
1 parent f33fad7 commit 8f06a17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/check_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
for game in progressbar.progressbar(games_list, redirect_stdout=True):
with open(f"../entries/{game}/game.json") as f:
game = json.load(f)
print(f"Checking {game['slug']}..")
# print(f"Checking {game['slug']}..")
for file in game["files"]:
if file["filename"] not in os.listdir(f"{path}/{game['slug']}"):
raise Exception(
Expand All @@ -25,6 +25,6 @@
raise Exception(
f'{screenshot} found in manifest but not on disk (entry {game["slug"]})'
)
print(
f"{game['slug']}: {len(game['files'])} file(s), {len(game['screenshots'])} screenshot(s)"
)
# print(
# f"{game['slug']}: {len(game['files'])} file(s), {len(game['screenshots'])} screenshot(s)"
# )

0 comments on commit 8f06a17

Please sign in to comment.