def delete(mock): print(main_executor.delete(mock.client, mock.key) + "\n") #Expect Success print(main_executor.delete(mock.client, mock.key_more_than_32) + "\n") #Expect Key not exists print(main_executor.delete("Special24", mock.key) + "\n") #Expect Client not found error print(main_executor.delete(mock.client, "Executive") + "\n") #Expect TTL error
def delete(self): return main_executor.delete(self.client, self.key, filepath=self.filepath)
def append_2(mock): print(main_executor.create("sherlock", mock.key, mock.value_dict) + "\n") print(main_executor.delete("sherlock", mock.key) + "\n")