projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652170a
)
tests: Use assertTrue(isinstance.. instead of assertIsInstance( (For comptatibility...
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 1 Jul 2013 15:04:24 +0000
(17:04 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 1 Jul 2013 15:04:24 +0000
(17:04 +0200)
tests/python/tests/test_version.py
patch
|
blob
|
history
diff --git
a/tests/python/tests/test_version.py
b/tests/python/tests/test_version.py
index f2a142b9ab8df158d690c779a04d0838427d2a63..52aa6e3eba987e220b1cc26d1df6cc8fd0151af5 100644
(file)
--- a/
tests/python/tests/test_version.py
+++ b/
tests/python/tests/test_version.py
@@
-5,6
+5,6
@@
import fixtures
class TestCaseVersion(unittest.TestCase):
def test_version(self):
- self.assert
IsInstance(cr.VERSION_MAJOR, int
);
- self.assert
IsInstance(cr.VERSION_MINOR, int
);
- self.assert
IsInstance(cr.VERSION_PATCH, int
);
+ self.assert
True(isinstance(cr.VERSION_MAJOR, int)
);
+ self.assert
True(isinstance(cr.VERSION_MINOR, int)
);
+ self.assert
True(isinstance(cr.VERSION_PATCH, int)
);