Exemple #1
0
 def test_missing_folder(self):
     try:
         importer.load_directory('test/missing_folder')
     except:
         self.fail('Should not throw an exception for missing folders.')
Exemple #2
0
 def test_incorrect_permissions(self):
     try:
         importer.load_directory(directory='tests/wrong_permissions')
     except:
         self.fail('Should not throw an exception for wrong permissions.')