def test_class_paths(self): r = Router(test_routes) paths = r.class_paths() self.assertTrue(isinstance(paths, dict)) self.assertEqual(len(paths), 1)