From 2ed04ae204136ea0b4a45e459203a1ae65f09851 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Thu, 4 Jun 2020 21:46:13 -0400 Subject: [PATCH] tests: refactored the way tileset test directories are handled. Switching from finding all directories to manually listing. --- tests/test_tileset.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_tileset.py b/tests/test_tileset.py index 0aaebd2..0e3a3aa 100644 --- a/tests/test_tileset.py +++ b/tests/test_tileset.py @@ -13,7 +13,12 @@ TEST_DATA = TESTS_DIR / "test_data" TILE_SETS = TEST_DATA / "tilesets" -ALL_TILESET_DIRS = TILE_SETS.glob("*") +ALL_TILESET_DIRS = [ + TILE_SETS / "image", + TILE_SETS / "image_background_color", + TILE_SETS / "image_properties", + TILE_SETS / "image_transparent_color", +] @pytest.mark.parametrize("tileset_dir", ALL_TILESET_DIRS)