mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48:52 -06:00
refactor: guards read the code where it moved
This commit is contained in:
1 parent
3af6f818d3
commit
5f7cbdc582
4 files changed
+8
-6
No files matched your search
@@ -393,7 +393,7 @@ class TheCopyKeepsTheCheckoutOutOfReach(unittest.TestCase):
|
||||
checkout = scratch_checkout()
|
||||
proc = subprocess.run(
|
||||
[sys.executable, "-c", "import sys; sys.path.insert(0, 'scripts'); "
|
||||
"import generate_site; print(generate_site._REPO_ROOT)"],
|
||||
"from sitegen import config; print(config._REPO_ROOT)"],
|
||||
capture_output=True, text=True, cwd=str(checkout), timeout=300, check=True,
|
||||
)
|
||||
self.assertEqual(Path(proc.stdout.strip()), checkout.resolve())
|
||||
|
||||
Reference in new issue
Block a user