コード例 #1
0
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
コード例 #2
0
 def delete(self):
     return main_executor.delete(self.client,
                                 self.key,
                                 filepath=self.filepath)
コード例 #3
0
def append_2(mock):
    print(main_executor.create("sherlock", mock.key, mock.value_dict) + "\n")
    print(main_executor.delete("sherlock", mock.key) + "\n")