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