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'))

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 .