aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-12-13 20:27:29 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-12-13 20:27:29 +0000
commitdc52dd7cc9006e710dc887eebda13039ad4036ee (patch)
treef5e1537fb73332c81f032b0f8a6c8d3fb0098bbf
parenta97a2644b99eac3cb7ac8aa984c9d903b9ae70bf (diff)
downloadpaludis-dc52dd7cc9006e710dc887eebda13039ad4036ee.tar.gz
paludis-dc52dd7cc9006e710dc887eebda13039ad4036ee.tar.xz
(python) Fix mask_TEST.
-rwxr-xr-xpython/mask_TEST.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/mask_TEST.py b/python/mask_TEST.py
index 123f62e..0d2b8e0 100755
--- a/python/mask_TEST.py
+++ b/python/mask_TEST.py
@@ -68,7 +68,8 @@ class TestCase_01_Masks(unittest.TestCase):
self.assertEquals(m.key(), "R")
self.assertEquals(m.description(), "repository")
- package_mask_path = os.path.join(os.getcwd(), "mask_TEST_dir/testrepo/profiles/package.mask")
+ package_mask_path = os.path.realpath(os.path.join(os.getcwd(),
+ "mask_TEST_dir/testrepo/profiles/package.mask"))
self.assertEquals(m.mask_key().value().mask_file, package_mask_path)
self.assert_(isinstance(m.mask_key().value().comment, StringIterable))