def testSwitchResultDisplay(self): self.assertEquals(choice.getCurrView(self.uuid), "data") params = {"client_key": "this_is_the_super_secret_id", "uuid": str(self.uuid), "new_view": "game"} choice.switchResultDisplay(params) self.assertEquals(choice.getCurrView(self.uuid), "game")
def testSwitchResultDisplay(self): self.assertEquals(choice.getCurrView(self.uuid), "data") params = { "client_key": "this_is_the_super_secret_id", "uuid": str(self.uuid), "new_view": "game" } choice.switchResultDisplay(params) self.assertEquals(choice.getCurrView(self.uuid), "game")
def testCurrView(self): self.assertEquals(choice.getCurrView(self.uuid), "data") choice.setCurrView(self.uuid, "game") self.assertEquals(choice.getCurrView(self.uuid), "game")