mark uninstall tests with install

since the test calls `install` while running.
as discussed in https://github.com/pypa/pipenv/pull/5965
This commit is contained in:
Dave Schaefer
2023-10-08 10:48:26 -06:00
parent f2b7b3a823
commit 4de4d20b74
+2
View File
@@ -245,6 +245,7 @@ def test_uninstall_multiple_categories(pipenv_instance_private_pypi):
assert "six" not in p.lockfile["default"]
@pytest.mark.install
@pytest.mark.uninstall
def test_category_sorted_alphabetically_with_directive(pipenv_instance_private_pypi):
with pipenv_instance_private_pypi() as p:
@@ -270,6 +271,7 @@ atomicwrites = "*"
assert list(p.pipfile["packages"].keys()) == ["atomicwrites", "colorama", "parse"]
@pytest.mark.install
@pytest.mark.uninstall
def test_category_not_sorted_without_directive(pipenv_instance_private_pypi):
with pipenv_instance_private_pypi() as p: