@pytest.mark.network
def test_git_with_editable_where_egg_contains_dev_string(script, tmpdir):
 result = script.pip('install', '-e', ('%s#egg=django-devserver' % local_checkout('git+git://github.com/dcramer/django-devserver.git', tmpdir.join('cache'))))
 result.assert_installed('django-devserver', with_files=['.git'])

@ pytest . mark . network def test_git_with_editable_where_egg_contains_dev_string ( script , tmpdir ) : result = script . pip ( 'install' , '-e' , ( '%s#egg=django-devserver' % local_checkout ( 'git+git://github.com/dcramer/django-devserver.git' , tmpdir . join ( 'cache' ) ) ) ) result . assert_installed ( 'django-devserver' , with_files = [ '.git' ] )
test cloning a git repository from an editable url which contains "dev" string .