Skip to content

Commit

Permalink
Fixing issues with using multiple operating systems
Browse files Browse the repository at this point in the history
  • Loading branch information
microcat49 committed Apr 15, 2021
1 parent 88e1d3d commit a375dbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
make_install_requirement,
)

from .constants import MINIMAL_WHEELS_PATH
from .constants import MINIMAL_WHEELS_PATH, PACKAGES_PATH
from .utils import looks_like_ci


Expand All @@ -43,6 +43,8 @@ def __init__(self):

with open("tests/test_data/fake-editables.json") as f:
self.editables = json.load(f)
self.editables[eval(self.editables['func'])] = []
print(self.editables)

def get_hashes(self, ireq):
# Some fake hashes
Expand Down
4 changes: 2 additions & 2 deletions tests/test_data/fake-editables.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"git+git://example.org/django.git#egg=django": [],
"git+https://github.com/celery/billiard#egg=billiard==3.5.9999": [],
"file://localhost//src/piptools/tests/test_data/packages/fake_with_local_files/setup.py": []
"git+https://github.com/celery/billiard#egg=billiard==3.5.9999": [],
"func" : "\"file://localhost/{}/fake_with_local_files/setup.py\".format(os.path.join(PACKAGES_PATH))"
}

0 comments on commit a375dbc

Please sign in to comment.