mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-12 14:33:23 -05:00
refactor: hoist test imports, rank pairs at module level
This commit is contained in:
1 parent
c4dab556e7
commit
0b7acf1e7f
22 files changed
+85
-110
No files matched your search
@@ -16,12 +16,11 @@ from pathlib import Path
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(REPO_ROOT / "scripts"))
|
||||
from generate_pack import verify_and_finalize_packs # noqa: E402
|
||||
|
||||
|
||||
class FinalizeByExactName(unittest.TestCase):
|
||||
def test_a_custom_pack_is_not_judged_as_the_platform_pack(self):
|
||||
from generate_pack import verify_and_finalize_packs
|
||||
|
||||
previous = os.getcwd()
|
||||
os.chdir(REPO_ROOT)
|
||||
self.addCleanup(os.chdir, previous)
|
||||
|
||||
Reference in new issue
Block a user