Пример #1
0
 def test_directory_exists_empty(self):
     result = interface.directory_exists('')
     self.assertEqual(result, False)
Пример #2
0
 def test_directory_exists(self):
     temp_directory = tempfile.mkdtemp()
     result = interface.directory_exists(temp_directory)
     self.assertEqual(result, True)
Пример #3
0
 def test_directory_exists_none(self):
     result = interface.directory_exists(None)
     self.assertEqual(result, False)