Commit Graph

7 Commits (adc8fe3aed470de55a6e5ea3d7c6a31f7c6d1ff1)

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 d7c15859bf Let utils_test run directly too. 7 years ago
Alex Willmer a8d216eeab Update lingering references to with_broker & run_with_broker
A previous commit renamed run_with_broker() and with_broker() to
run_with_router() and with_router() respctively. Some references were
missed.
7 years ago
David Wilson 10c0dca24c Apply package rename to tests 7 years ago
David Wilson 4de557d304 Somre more basic tests. 8 years ago