Skip to content

Commit

Permalink
fix last four errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Nov 22, 2016
1 parent 922acc4 commit fa6ce71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions tests/core/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def setUp(self):
self.dist = Dist("channel", "dist_name")
index_json_records = Record(build=0, build_number=0, name="test_foo", version=0)
icondata = "icondata"
paths = [PathInfo(path="test/path/1", file_mode=FileMode.text, path_type=PathType.hardlink,
paths = [PathInfo(_path="test/path/1", file_mode=FileMode.text, path_type=PathType.hardlink,
prefix_placeholder="/opt/anaconda1anaconda2anaconda3", ),
PathInfo(path="test/path/2", no_link=True, path_type=PathType.hardlink),
PathInfo(path="test/path/3", path_type=PathType.softlink),
PathInfo(path="menu/test.json", path_type=PathType.hardlink)]
PathInfo(_path="test/path/2", no_link=True, path_type=PathType.hardlink),
PathInfo(_path="test/path/3", path_type=PathType.softlink),
PathInfo(_path="menu/test.json", path_type=PathType.hardlink)]

self.package_info = PackageInfo(paths_version=0, paths=paths, icondata=icondata,
index_json_record=index_json_records)
Expand Down Expand Up @@ -68,12 +68,12 @@ def setUp(self):
index_json_records = Record(build=0, build_number=0, name="test_foo", version=0)
icondata = "icondata"

paths = [PathInfo(path="site-packages/test/1", file_mode=FileMode.text,
paths = [PathInfo(_path="site-packages/test/1", file_mode=FileMode.text,
path_type=PathType.hardlink,
prefix_placeholder="/opt/anaconda1anaconda2anaconda3", ),
PathInfo(path="python-scripts/test/2", no_link=True, path_type=PathType.hardlink),
PathInfo(path="test/path/3", path_type=PathType.softlink),
PathInfo(path="menu/test.json", path_type=PathType.hardlink)]
PathInfo(_path="python-scripts/test/2", no_link=True, path_type=PathType.hardlink),
PathInfo(_path="test/path/3", path_type=PathType.softlink),
PathInfo(_path="menu/test.json", path_type=PathType.hardlink)]

self.package_info = PackageInfo(paths_version=0, paths=paths, icondata=icondata,
index_json_record=index_json_records)
Expand Down
8 changes: 4 additions & 4 deletions tests/models/test_package_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ def test_package_info(self):
index_json_records = Record(build=0, build_number=0, name="test_foo", version=0)
icondata = "icondata"
noarch = NoarchInfo(type="python", entry_points=["test:foo"])
paths = [PathInfo(path="test/path/1", file_mode=FileMode.text, path_type=PathType.hardlink,
paths = [PathInfo(_path="test/path/1", file_mode=FileMode.text, path_type=PathType.hardlink,
prefix_placeholder="/opt/anaconda1anaconda2anaconda3", ),
PathInfo(path="test/path/2", no_link=True, path_type=PathType.hardlink),
PathInfo(path="test/path/3", path_type=PathType.softlink),
PathInfo(path="menu/test.json", path_type=PathType.hardlink)]
PathInfo(_path="test/path/2", no_link=True, path_type=PathType.hardlink),
PathInfo(_path="test/path/3", path_type=PathType.softlink),
PathInfo(_path="menu/test.json", path_type=PathType.hardlink)]

package_info = PackageInfo(paths_version=0, paths=paths, icondata=icondata,
index_json_record=index_json_records, noarch=noarch)
Expand Down

0 comments on commit fa6ce71

Please sign in to comment.