Commit Graph

12 Commits (7eb123595bdcb4667c827a58ba8e80f06f0ad6f9)

Author SHA1 Message Date
David Wilson a53e85ff69 tests: stubs for future whitelist/blacklist tests. 7 years ago
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 492777f61b tests: stop responder_test spamming the logs 7 years ago
David Wilson 1a48e37981 Allow running responder_test with unittest. 7 years ago
David Wilson a89c20e54e Fixup some more tests. 7 years ago
David Wilson 10c0dca24c Apply package rename to tests 7 years ago
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 8 years ago
David Wilson 799cd173c6 One more test case. 8 years ago
David Wilson 301972bc57 Restructure module importer to cope with Ansible. 8 years ago
David Wilson 66f92ad44c Initial couple of tests. 8 years ago