예제 #1
0
 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')
예제 #2
0
파일: tests.py 프로젝트: GbalsaC/bitnamiP
 def test_get_finder(self):
     self.assertTrue(isinstance(finders.get_finder(
         'staticfiles.finders.FileSystemFinder'),
         finders.FileSystemFinder))
예제 #3
0
 def test_get_finder(self):
     self.assertTrue(isinstance(finders.get_finder(
         'staticfiles.finders.FileSystemFinder'),
         finders.FileSystemFinder))