Beispiel #1
0
 def test_deep_level_subcat_is_there(self):
     self.assertEqual(
         ct.has_category(self.tree, 'download'),
         True
     )
Beispiel #2
0
 def test_first_level_subcat_is_there(self):
     self.assertEqual(
         ct.has_category(self.tree, 'cars'),
         True
     )
Beispiel #3
0
 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)