sys_path: order egg-link files for reproducible test results

This commit is contained in:
immerrr
2015-10-21 12:03:39 +03:00
parent f500457100
commit da4dbe81a9
2 changed files with 5 additions and 2 deletions

View File

@@ -43,8 +43,8 @@ def test_get_venv_path(venv):
glob(pjoin(venv, 'lib', 'site-packages')))[0]
ETALON = [
site_pkgs,
pjoin(site_pkgs, '.', 'relative', 'egg-link', 'path'),
pjoin('/path', 'from', 'egg-link'),
pjoin(site_pkgs, '.', 'relative', 'egg-link', 'path'),
pjoin(site_pkgs, 'dir-from-foo-pth'),
pjoin('/path', 'from', 'smth.py'),
pjoin('/path', 'from', 'smth.py:extend_path')