def test_schema_check_in_requirements_file(script):
    script.scratch_path.join("file-egg-req.txt").write(
        "\n%s\n" % (
            "git://github.com/alex/django-fixture-generator.git"
            "#egg=fixture_generator"
        )
    )

    with pytest.raises(AssertionError):
        script.pip(
            "install", "-vvv", "-r", script.scratch_path / "file-egg-req.txt"
        )
Test installing from a requirements file with an invalid vcs schema..
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_reqs.py/test_schema_check_in_requirements_file