def test_deep_level_subcat_is_there(self): self.assertEqual( ct.has_category(self.tree, 'download'), True )
def test_first_level_subcat_is_there(self): self.assertEqual( ct.has_category(self.tree, 'cars'), True )
def test_dummy_is_absent(self): self.assertEqual( ct.has_category(self.tree, 'dummy'), False )
def test_deep_level_subcat_is_there(self): self.assertEqual(ct.has_category(self.tree, 'download'), True)
def test_first_level_subcat_is_there(self): self.assertEqual(ct.has_category(self.tree, 'cars'), True)
def test_dummy_is_absent(self): self.assertEqual(ct.has_category(self.tree, 'dummy'), False)