def test_delete_command(self): self.test_add_command_two_lang() get_dao().clear_all_command() r = redis.from_url(REDIS_URL) assert 0 == len(r.keys('COMMAND::*'))