[python-debian/master] test_debfile.py: Normalize a path we miseed before

John Wright jsw at debian.org
Sun Jul 25 07:31:01 UTC 2010


---
 tests/test_debfile.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test_debfile.py b/tests/test_debfile.py
index 1de4777..b37dfd7 100755
--- a/tests/test_debfile.py
+++ b/tests/test_debfile.py
@@ -137,7 +137,7 @@ class TestDebFile(unittest.TestCase):
         # random test on the data part (which is bzipped), just to check if we
         # can access its content
         self.assertEqual(os.path.normpath(bz2_deb.data.tgz().getnames()[10]),
-                './usr/share/locale/bg/')
+                         os.path.normpath('./usr/share/locale/bg/'))
 
     def test_data_names(self):
         """ test for file list equality """ 
-- 
1.7.1




More information about the pkg-python-debian-commits mailing list