|
4 | 4 |
|
5 | 5 | import pytest
|
6 | 6 |
|
7 |
| -from tests.lib import ( |
8 |
| - assert_all_changes, pyversion, _create_test_package, |
9 |
| - _change_test_package_version, |
10 |
| -) |
| 7 | +from tests.lib import assert_all_changes, pyversion |
11 | 8 | from tests.lib.local_repos import local_checkout
|
12 | 9 |
|
13 | 10 |
|
@@ -314,31 +311,6 @@ def test_uninstall_rollback(script, data):
|
314 | 311 | )
|
315 | 312 |
|
316 | 313 |
|
317 |
| -# Issue #530 - temporarily disable flaky test |
318 |
| -@pytest.mark.skipif |
319 |
| -def test_editable_git_upgrade(script): |
320 |
| - """ |
321 |
| - Test installing an editable git package from a repository, upgrading the |
322 |
| - repository, installing again, and check it gets the newer version |
323 |
| - """ |
324 |
| - version_pkg_path = _create_test_package(script) |
325 |
| - script.pip( |
326 |
| - 'install', '-e', |
327 |
| - '%s#egg=version_pkg' % ('git+file://' + version_pkg_path), |
328 |
| - ) |
329 |
| - version = script.run('version_pkg') |
330 |
| - assert '0.1' in version.stdout |
331 |
| - _change_test_package_version(script, version_pkg_path) |
332 |
| - script.pip( |
333 |
| - 'install', '-e', |
334 |
| - '%s#egg=version_pkg' % ('git+file://' + version_pkg_path), |
335 |
| - ) |
336 |
| - version2 = script.run('version_pkg') |
337 |
| - assert 'some different version' in version2.stdout, ( |
338 |
| - "Output: %s" % (version2.stdout) |
339 |
| - ) |
340 |
| - |
341 |
| - |
342 | 314 | @pytest.mark.network
|
343 | 315 | def test_should_not_install_always_from_cache(script):
|
344 | 316 | """
|
|
0 commit comments