Skip to content

Commit

Permalink
Expand parse test coverage by reading all countries (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
chennin authored May 24, 2024
1 parent 479f005 commit 8be0c15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parser_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def test_real_save(tmp_path):
from stellarisdashboard import cli, config
from pathlib import Path
config.CONFIG.debug_mode = True
config.CONFIG.read_all_countries = True
config.CONFIG.base_output_path = tmp_path
cli.f_parse_saves(save_path="test/saves")
assert len(list(tmp_path.glob('**/*.db'))) > 0, f"When parsing saves, no output .db files were produced (output folder: {tmp_path})"

0 comments on commit 8be0c15

Please sign in to comment.