def test_watch_models(self): toolbar_pool.discover_toolbars() self.assertEqual(type(toolbar_pool.get_watch_models()), list)
def test_watchmodels(self): """ Tests that the toolbar sets watch_models correctly. """ self.assertTrue(Thing in toolbar_pool.get_watch_models())