Skip to content

Commit 2915c86

Browse files
committed
Fix tests: replace MXENV_UV_GLOBAL with UV_PYTHON
- Update test_parser.py to use UV_PYTHON instead of MXENV_UV_GLOBAL - Update test_templates.py to use UV_PYTHON instead of MXENV_UV_GLOBAL - Both tests now pass with new mxenv.mk implementation
1 parent eeeceb2 commit 2915c86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mxmake/tests/test_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_MakefileParser(self, tempdir):
2121
"core.mxenv.PRIMARY_PYTHON": "python3",
2222
"core.mxenv.PYTHON_MIN_VERSION": "3.7",
2323
"core.mxenv.PYTHON_PACKAGE_INSTALLER": "pip",
24-
"core.mxenv.MXENV_UV_GLOBAL": "false",
24+
"core.mxenv.UV_PYTHON": "",
2525
"core.mxenv.VENV_ENABLED": "true",
2626
"core.mxenv.VENV_CREATE": "true",
2727
"core.mxenv.VENV_FOLDER": "venv",
@@ -67,7 +67,7 @@ def test_MakefileParser(self, tempdir):
6767
"core.mxenv.PRIMARY_PYTHON": "python3",
6868
"core.mxenv.PYTHON_MIN_VERSION": "3.7",
6969
"core.mxenv.PYTHON_PACKAGE_INSTALLER": "pip",
70-
"core.mxenv.MXENV_UV_GLOBAL": "false",
70+
"core.mxenv.UV_PYTHON": "",
7171
"core.mxenv.VENV_ENABLED": "true",
7272
"core.mxenv.VENV_CREATE": "true",
7373
"core.mxenv.VENV_FOLDER": "venv",

src/mxmake/tests/test_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def test_Makefile(self, tempdir):
564564
"core.mxenv.PRIMARY_PYTHON": "python3",
565565
"core.mxenv.PYTHON_MIN_VERSION": "3.9",
566566
"core.mxenv.PYTHON_PACKAGE_INSTALLER": "pip",
567-
"core.mxenv.MXENV_UV_GLOBAL": "false",
567+
"core.mxenv.UV_PYTHON": "",
568568
"core.mxenv.VENV_ENABLED": "true",
569569
"core.mxenv.VENV_CREATE": "true",
570570
"core.mxenv.VENV_FOLDER": ".venv",

0 commit comments

Comments
 (0)