def test_file_exists_empty(self): result = interface.file_exists('') self.assertEqual(result, False)
def test_file_exists(self): temp_file = tempfile.mkstemp()[1] result = interface.file_exists(temp_file) self.assertEqual(result, True)
def test_file_exists_none(self): result = interface.file_exists(None) self.assertEqual(result, False)