diff options
| author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-11-26 18:00:28 +0000 |
|---|---|---|
| committer | Bernát Gábor <bgabor8@bloomberg.net> | 2020-11-27 17:47:57 +0000 |
| commit | 39c07bb676411f75adc1dab697c5917b6a803c49 (patch) | |
| tree | c2b3ffe6efc7611dea154581dff5818377a46ccf /tests/tox_env/python/test_python_api.py | |
| parent | 8b526dc6bd10b2bff87c667ce14fba6cc54c0d1f (diff) | |
| download | tox-git-39c07bb676411f75adc1dab697c5917b6a803c49.tar.gz | |
Fix provisioning support
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Diffstat (limited to 'tests/tox_env/python/test_python_api.py')
| -rw-r--r-- | tests/tox_env/python/test_python_api.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/tox_env/python/test_python_api.py b/tests/tox_env/python/test_python_api.py index 8ce76e48..6f66756d 100644 --- a/tests/tox_env/python/test_python_api.py +++ b/tests/tox_env/python/test_python_api.py @@ -2,28 +2,28 @@ from pathlib import Path from packaging.requirements import Requirement -from tox.tox_env.python.api import Dep +from tox.tox_env.python.api import PythonDep def test_deps_path_eq() -> None: - dep_1 = Dep(Path.cwd()) - dep_2 = Dep(Path.cwd()) + dep_1 = PythonDep(Path.cwd()) + dep_2 = PythonDep(Path.cwd()) assert dep_1 == dep_2 def test_deps_path_ne() -> None: - dep_1 = Dep(Path.cwd()) - dep_2 = Dep(Path.cwd() / "a") + dep_1 = PythonDep(Path.cwd()) + dep_2 = PythonDep(Path.cwd() / "a") assert dep_1 != dep_2 def test_deps_req_eq() -> None: - dep_1 = Dep(Requirement("pytest")) - dep_2 = Dep(Requirement("pytest")) + dep_1 = PythonDep(Requirement("pytest")) + dep_2 = PythonDep(Requirement("pytest")) assert dep_1 == dep_2 def test_deps_req_ne() -> None: - dep_1 = Dep(Requirement("pytest")) - dep_2 = Dep(Requirement("tox")) + dep_1 = PythonDep(Requirement("pytest")) + dep_2 = PythonDep(Requirement("tox")) assert dep_1 != dep_2 |
