Commit Graph

4 Commits (81a77a453a68da84304b8d5573b3bb2ef5618853)

Author SHA1 Message Date
Alex Willmer 81a77a453a Use specific TestCase assertions throughout tests
e.g. assert x == y -> self.assertEqual(x, y);
self.assertTrue(isinstance(x, y)) -> self.assertIsInstance(x, y)

These specific methods give more useful errors in the case of a test
failure.
7 years ago
Alex Willmer 9351a44784 Use unittest2 in all tests
This allows using features such as TestCase,assertIsInstance on Python
2.6 and earlier.
7 years ago
David Wilson 1f73c32d4c frameworkize nested_test. 7 years ago
David Wilson ef86b68dcd Import random old test scripts into tests/ dir. 7 years ago