Skip to content

Commit 3eacea2

Browse files
committed
Remove tests with --sequential
1 parent a38d153 commit 3eacea2

File tree

2 files changed

+0
-76
lines changed

2 files changed

+0
-76
lines changed

tests/integration/test_install_twists.py

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -103,58 +103,6 @@ def test_https_dependency_links_install(self, pipenv_instance_pypi):
103103
)
104104

105105

106-
@pytest.mark.install
107-
@pytest.mark.multiprocessing
108-
def test_multiprocess_bug_and_install(pipenv_instance_pypi):
109-
with temp_environ():
110-
os.environ["PIPENV_MAX_SUBPROCESS"] = "2"
111-
112-
with pipenv_instance_pypi(chdir=True) as p:
113-
with open(p.pipfile_path, "w") as f:
114-
contents = """
115-
[packages]
116-
pytz = "*"
117-
six = "*"
118-
dataclasses-json = "*"
119-
""".strip()
120-
f.write(contents)
121-
122-
c = p.pipenv("install")
123-
assert c.returncode == 0
124-
125-
assert "pytz" in p.lockfile["default"]
126-
assert "six" in p.lockfile["default"]
127-
assert "dataclasses-json" in p.lockfile["default"]
128-
129-
c = p.pipenv('run python -c "import six; import pytz; import dataclasses_json;"')
130-
assert c.returncode == 0
131-
132-
133-
@pytest.mark.install
134-
@pytest.mark.sequential
135-
def test_sequential_mode(pipenv_instance_pypi):
136-
137-
with pipenv_instance_pypi(chdir=True) as p:
138-
with open(p.pipfile_path, "w") as f:
139-
contents = """
140-
[packages]
141-
six = "*"
142-
urllib3 = "*"
143-
pytz = "*"
144-
""".strip()
145-
f.write(contents)
146-
147-
c = p.pipenv("install --sequential")
148-
assert c.returncode == 0
149-
150-
assert "six" in p.lockfile["default"]
151-
assert "pytz" in p.lockfile["default"]
152-
assert "urllib3" in p.lockfile["default"]
153-
154-
c = p.pipenv('run python -c "import six; import urllib3; import pytz;"')
155-
assert c.returncode == 0
156-
157-
158106
@pytest.mark.run
159107
@pytest.mark.install
160108
def test_normalize_name_install(pipenv_instance_private_pypi):

tests/integration/test_sync.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -70,30 +70,6 @@ def test_sync_should_not_lock(pipenv_instance_pypi):
7070
assert lockfile_content == p.lockfile
7171

7272

73-
@pytest.mark.sync
74-
@pytest.mark.lock
75-
def test_sync_sequential_detect_errors(pipenv_instance_private_pypi):
76-
with pipenv_instance_private_pypi() as p:
77-
with open(p.pipfile_path, 'w') as f:
78-
contents = """
79-
[packages]
80-
requests = "*"
81-
""".strip()
82-
f.write(contents)
83-
84-
c = p.pipenv('lock')
85-
assert c.returncode == 0
86-
87-
# Force hash mismatch when installing `requests`
88-
lock = p.lockfile
89-
lock['default']['requests']['hashes'] = ['sha256:' + '0' * 64]
90-
with open(p.lockfile_path, 'w') as f:
91-
json.dump(lock, f)
92-
93-
c = p.pipenv('sync --sequential')
94-
assert c.returncode != 0
95-
96-
9773
@pytest.mark.sync
9874
def test_sync_consider_pip_target(pipenv_instance_pypi):
9975
"""

0 commit comments

Comments
 (0)