Commit Graph

4 Commits

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.
2017-11-11 23:08:08 +00:00
Alex Willmer 9351a44784 Use unittest2 in all tests
This allows using features such as TestCase,assertIsInstance on Python
2.6 and earlier.
2017-11-11 22:59:38 +00:00
David Wilson fccf1b1cab Fix importer_test constructor signature. 2017-10-01 15:30:43 +05:30
David Wilson 3e020ddd09 Fix Channel constructor and add simple test; closes #32 2017-09-18 14:34:05 +05:30