Browse Source

Rename a test folder.

master
poikilos 10 months ago
parent
commit
cf45ebfca0
  1. 0
      tests/data/mod_game/mods/extra_parent/modpack1/mod1/init.lua
  2. 0
      tests/data/mod_game/mods/extra_parent/modpack1/mod1/not_this_folder/init.lua
  3. 2
      tests/test_mtpatches.py

0
tests/data/game/mods/extra_parent/modpack1/mod1/init.lua → tests/data/mod_game/mods/extra_parent/modpack1/mod1/init.lua

0
tests/data/game/mods/extra_parent/modpack1/mod1/not_this_folder/init.lua → tests/data/mod_game/mods/extra_parent/modpack1/mod1/not_this_folder/init.lua

2
tests/test_mtpatches.py

@ -88,7 +88,7 @@ class TestMTPatches(unittest.TestCase):
self.assertFalse(diffs) # assert same (ignoring base extra file(s)) self.assertFalse(diffs) # assert same (ignoring base extra file(s))
def test_find_mod(self): def test_find_mod(self):
game_path = os.path.join(TESTS_DATA_DIR, "game") game_path = os.path.join(TESTS_DATA_DIR, "mod_game")
self.assertEqual( self.assertEqual(
find_mod(game_path, "wrong_mod"), find_mod(game_path, "wrong_mod"),
None None

Loading…
Cancel
Save