Skip to content

Commit

Permalink
Remove redundant configuration file reading tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzingwires committed Jul 11, 2023
1 parent 0669eaf commit f27e246
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/integration/test_read_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
UPDATED_CONFIG = {
"SORT": {"shuffle": "True"},
"IMAGE": {"overzoom": "4.2"},
"THUMBNAIL": {"size": "64", "save": "False"},
"THUMBNAIL": {"size": "64"},
}


Expand All @@ -46,7 +46,7 @@
UPDATED_CONFIG_INVALID = {
"SORT": {"shuffle": "not a bool"},
"IMAGE": {"overzoom": "not a float"},
"THUMBNAIL": {"size": "not an int", "save": "not a bool"},
"THUMBNAIL": {"size": "not an int"},
}


Expand Down Expand Up @@ -86,7 +86,6 @@ def test_read_config(configpath):
assert api.settings.sort.shuffle.value is True
assert api.settings.image.overzoom.value == 4.2
assert api.settings.thumbnail.size.value == 64
assert api.settings.thumbnail.save.value is False


@pytest.mark.parametrize(
Expand Down

0 comments on commit f27e246

Please sign in to comment.