changeset 667:9d19ae17a401

0.6dev: Follow-up to [740] - fix incorrect tests.
author osimons
date Thu, 03 Sep 2009 11:41:39 +0000
parents 3c1c52f5e8ad
children 9f5e9e0f6ac9
files bitten/build/tests/pythontools.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/build/tests/pythontools.py
+++ b/bitten/build/tests/pythontools.py
@@ -307,7 +307,7 @@
         child = xml.children[0]
         self.assertEqual('coverage', child.name)
         self.assertEqual('test.module', child.attr['name'])
-        self.assertEqual(os.path.join('test', 'module.py'), child.attr['file'])
+        self.assertEqual('test/module.py', child.attr['file'])
         self.assertEqual(75, child.attr['percentage'])
         self.assertEqual(4, child.attr['lines'])
         self.assertEqual('1 0 - 1 1', child.attr['line_hits'])
@@ -332,7 +332,7 @@
         child = xml.children[0]
         self.assertEqual('coverage', child.name)
         self.assertEqual('test.module', child.attr['name'])
-        self.assertEqual(os.path.join('test', 'module.py'), child.attr['file'])
+        self.assertEqual('test/module.py', child.attr['file'])
         self.assertEqual(0, child.attr['percentage'])
         self.assertEqual(5, child.attr['lines'])
 
Copyright (C) 2012-2017 Edgewall Software