diff --git a/tests/integration/test_install_twists.py b/tests/integration/test_install_twists.py index 95df7bbc..71aab05b 100644 --- a/tests/integration/test_install_twists.py +++ b/tests/integration/test_install_twists.py @@ -103,58 +103,6 @@ setup( ) -@pytest.mark.install -@pytest.mark.multiprocessing -def test_multiprocess_bug_and_install(pipenv_instance_pypi): - with temp_environ(): - os.environ["PIPENV_MAX_SUBPROCESS"] = "2" - - with pipenv_instance_pypi(chdir=True) as p: - with open(p.pipfile_path, "w") as f: - contents = """ -[packages] -pytz = "*" -six = "*" -dataclasses-json = "*" - """.strip() - f.write(contents) - - c = p.pipenv("install") - assert c.returncode == 0 - - assert "pytz" in p.lockfile["default"] - assert "six" in p.lockfile["default"] - assert "dataclasses-json" in p.lockfile["default"] - - c = p.pipenv('run python -c "import six; import pytz; import dataclasses_json;"') - assert c.returncode == 0 - - -@pytest.mark.install -@pytest.mark.sequential -def test_sequential_mode(pipenv_instance_pypi): - - with pipenv_instance_pypi(chdir=True) as p: - with open(p.pipfile_path, "w") as f: - contents = """ -[packages] -six = "*" -urllib3 = "*" -pytz = "*" - """.strip() - f.write(contents) - - c = p.pipenv("install --sequential") - assert c.returncode == 0 - - assert "six" in p.lockfile["default"] - assert "pytz" in p.lockfile["default"] - assert "urllib3" in p.lockfile["default"] - - c = p.pipenv('run python -c "import six; import urllib3; import pytz;"') - assert c.returncode == 0 - - @pytest.mark.run @pytest.mark.install def test_normalize_name_install(pipenv_instance_private_pypi): diff --git a/tests/integration/test_sync.py b/tests/integration/test_sync.py index 73fb41bf..9dc68558 100644 --- a/tests/integration/test_sync.py +++ b/tests/integration/test_sync.py @@ -70,30 +70,6 @@ six = "*" assert lockfile_content == p.lockfile -@pytest.mark.sync -@pytest.mark.lock -def test_sync_sequential_detect_errors(pipenv_instance_private_pypi): - with pipenv_instance_private_pypi() as p: - with open(p.pipfile_path, 'w') as f: - contents = """ -[packages] -requests = "*" - """.strip() - f.write(contents) - - c = p.pipenv('lock') - assert c.returncode == 0 - - # Force hash mismatch when installing `requests` - lock = p.lockfile - lock['default']['requests']['hashes'] = ['sha256:' + '0' * 64] - with open(p.lockfile_path, 'w') as f: - json.dump(lock, f) - - c = p.pipenv('sync --sequential') - assert c.returncode != 0 - - @pytest.mark.sync def test_sync_consider_pip_target(pipenv_instance_pypi): """