Permalink
Browse files

#49 Fixed dpm.lib test

  • Loading branch information...
1 parent e429369 commit 825fbbca850d29f114d5c271a11194d57e04d53a @dgraziotin committed Mar 3, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 dpm/tests/test_lib_internet.py
@@ -45,8 +45,9 @@ def test_download(self):
download_path = tempfile.mkdtemp()
lib.download(PACKAGE_SPEC, download_path)
pkg_path = download_path+os.sep+PACKAGE_NAME
+ data_path = pkg_path+os.sep+"data"
assert os.path.exists(pkg_path)
assert os.path.isfile(pkg_path+os.sep+DATAPACKAGE)
- for res in EXPECTED_RESOURCES:
- assert os.path.isfile(pkg_path+os.sep+res)
+ for res in EXPECTED_RESOURCES:
+ assert os.path.isfile(data_path+os.sep+res)

0 comments on commit 825fbbc

Please sign in to comment.