search for: test_extra

Displaying 3 results from an estimated 3 matches for "test_extra".

Did you mean: desc_extra
2016 Feb 12
2
[PATCH] python: tests: use more targeted assert*() functions/checks
...nstance (self.version['minor'], cl)) + self.assertIsInstance (self.version['minor'], cl) def test_release (self): - self.assertTrue (isinstance (self.version['release'], cl)) + self.assertIsInstance (self.version['release'], cl) def test_extra (self): - self.assertTrue (isinstance (self.version['extra'], str)) + self.assertIsInstance (self.version['extra'], str) if __name__ == '__main__': unittest.main () diff --git a/python/t/420-log-messages.py b/python/t/420-log-messages.py index 002098e.....
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
...- - def test_major (self): - self.assertEqual (self.version['major'], 1) - - def test_minor (self): - self.assertIsInstance (self.version['minor'], cl) - - def test_release (self): - self.assertIsInstance (self.version['release'], cl) - - def test_extra (self): - self.assertIsInstance (self.version['extra'], str) - -if __name__ == '__main__': - unittest.main () diff --git a/python/t/090-retvalues.py b/python/t/090-retvalues.py deleted file mode 100644 index 8a5c912..0000000 --- a/python/t/090-retvalues.py +++ /dev/null @@...
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
Hi, this series cleans up the Python sources, either static or generated, including also tests, to make them PEP 8 compliant; see https://www.python.org/dev/peps/pep-0008/ and tools like pep8. Almost all the issues reported by pep8 are fixed, reducing the issues from 3818 to 7. The changes should have no effect on the actual code, while it will help Python users with consistency with other