示例#1
0
 def test_if_it_is_not_a_subclass_of_base_finder(self):
     with self.assertRaises(ImproperlyConfigured):
         get_finder('test_get_finder.finders.BadFinder')
示例#2
0
 def test_if_it_is_a_subclass_of_base_finder(self):
     finder = get_finder('test_get_finder.finders.GoodFinder')
     self.assertIsInstance(finder, finders.GoodFinder)