def get_tno(): sno = request.cookies.get('sno') cookie = request.cookies.get('JSESSIONID') _, result = sysujwxt.get_tno(cookie.encode('ascii')) return result
def test_get_tno(self): success, result = fakesysujwxt.get_tno(self.cookie) self.assertTrue(success)