Ejemplo n.º 1
0
Archivo: tests.py Proyecto: nt3rp/bacon
 def test_missing_folder(self):
     try:
         importer.load_directory('test/missing_folder')
     except:
         self.fail('Should not throw an exception for missing folders.')
Ejemplo n.º 2
0
Archivo: tests.py Proyecto: nt3rp/bacon
 def test_incorrect_permissions(self):
     try:
         importer.load_directory(directory='tests/wrong_permissions')
     except:
         self.fail('Should not throw an exception for wrong permissions.')