diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2009-04-20 22:36:15 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2009-04-20 22:36:15 +0000 |
commit | 5218feebbeebc2bbc7e29d2a40b0897d494c2bc6 (patch) | |
tree | 75d001b42f7b4415f30db86b17bed50b95248610 /unit_tests/test_utils.py | |
parent | baf0225f1f703bb52365a8f4d5ae338cb8369f75 (diff) | |
download | nose-5218feebbeebc2bbc7e29d2a40b0897d494c2bc6.tar.gz |
Fixed bugs in testid, test suite
Diffstat (limited to 'unit_tests/test_utils.py')
-rw-r--r-- | unit_tests/test_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unit_tests/test_utils.py b/unit_tests/test_utils.py index e7da73c..d63adce 100644 --- a/unit_tests/test_utils.py +++ b/unit_tests/test_utils.py @@ -88,7 +88,7 @@ class TestUtils(unittest.TestCase): foo_mtc = case.MethodTestCase(Foo.bar) - me = absfile(__file__) + me = util.src(absfile(__file__)) self.assertEqual(test_address(baz), (me, __name__, 'baz')) assert test_address(Foo) == (me, __name__, 'Foo') @@ -96,7 +96,8 @@ class TestUtils(unittest.TestCase): 'Foo.bar') assert test_address(f) == (me, __name__, 'Foo') assert test_address(f.bar) == (me, __name__, 'Foo.bar') - assert test_address(nose) == (absfile(nose.__file__), 'nose', None) + assert test_address(nose) == ( + util.src(absfile(nose.__file__)), 'nose', None) # test passing the actual test callable, as the # missed test plugin must do |