Exemplo n.º 1
0
Arquivo: tests.py Projeto: 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.')
Exemplo n.º 2
0
Arquivo: tests.py Projeto: 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.')