Commit Graph

5 Commits (71c00789f0e5eb96bd431d60b742444ce60084f8)

Author SHA1 Message Date
Alex Willmer 110eba05ce Import and use unittest2 without aliasing it 7 years ago
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 fccf1b1cab Fix importer_test constructor signature. 7 years ago
David Wilson 3e020ddd09 Fix Channel constructor and add simple test; closes #32 7 years ago