def test_get_finder(self): self.assertTrue(isinstance(finders.get_finder( 'staticfiles.finders.FileSystemFinder'), finders.FileSystemFinder)) self.assertRaises(ImproperlyConfigured, finders.get_finder, 'staticfiles.finders.FooBarFinder') self.assertRaises(ImproperlyConfigured, finders.get_finder, 'foo.bar.FooBarFinder')
def test_get_finder(self): self.assertTrue(isinstance(finders.get_finder( 'staticfiles.finders.FileSystemFinder'), finders.FileSystemFinder))