mirror of https://github.com/pypa/pip
Remove outdated test_git_works_with_editable_non_origin_repo().
This test has been replaced by test_freeze_editable_git_with_no_remote() in test_freeze.py, with an updated and different test expectation.
This commit is contained in:
parent
526ac40e63
commit
61bb651bf1
|
@ -146,6 +146,8 @@ def test_freeze_editable_git_with_no_remote(script, tmpdir):
|
|||
script.pip('install', '-e', pkg_path)
|
||||
result = script.pip('freeze')
|
||||
|
||||
assert result.stderr == ''
|
||||
|
||||
# We need to apply os.path.normcase() to the path since that is what
|
||||
# the freeze code does.
|
||||
expected = textwrap.dedent("""\
|
||||
|
|
|
@ -367,20 +367,6 @@ def test_git_with_ambiguous_revs(script):
|
|||
result.assert_installed('version-pkg', with_files=['.git'])
|
||||
|
||||
|
||||
def test_git_works_with_editable_non_origin_repo(script):
|
||||
# set up, create a git repo and install it as editable from a local
|
||||
# directory path
|
||||
version_pkg_path = _create_test_package(script)
|
||||
script.pip('install', '-e', version_pkg_path.abspath)
|
||||
|
||||
# 'freeze'ing this should not fall over, but should result in stderr output
|
||||
# warning
|
||||
result = script.pip('freeze', expect_stderr=True)
|
||||
assert "Error when trying to get requirement" in result.stderr
|
||||
assert "Could not determine repository location" in result.stdout
|
||||
assert "version-pkg==0.1" in result.stdout
|
||||
|
||||
|
||||
def test_editable__no_revision(script):
|
||||
"""
|
||||
Test a basic install in editable mode specifying no revision.
|
||||
|
|
Loading…
Reference in New Issue