Пример #1
0
def test_get_pex_python_paths() -> None:
    with setup_pexrc_with_pex_python_path(["foo/bar", "baz", "/qux/quux"]):
        paths = PythonSetup.get_pex_python_paths()
    assert ["foo/bar", "baz", "/qux/quux"] == paths
Пример #2
0
 def test_get_pex_python_paths(self):
     with setup_pexrc_with_pex_python_path(["foo/bar", "baz", "/qux/quux"]):
         paths = PythonSetup.get_pex_python_paths()
     self.assertListEqual(["foo/bar", "baz", "/qux/quux"], paths)