def test_directory_exists_empty(self): result = interface.directory_exists('') self.assertEqual(result, False)
def test_directory_exists(self): temp_directory = tempfile.mkdtemp() result = interface.directory_exists(temp_directory) self.assertEqual(result, True)
def test_directory_exists_none(self): result = interface.directory_exists(None) self.assertEqual(result, False)