Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return BinOpAdd BinOpLShift SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num attr ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num attr TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A base module tests. N/A datetime N/A os N/A struct N/A mox N/A stubout google.apputils app google.apputils basetest simian.auth base N/A base_test GetRandomInt N/A N/A N/A N/A N/A Returns a random 128-bit unsigned integer. N/A b N/A N/A os urandom 16 N/A a N/A N/A struct unpack QQ b N/A N/A N/A N/A a N/A 0 64 N/A a N/A 1 N/A Auth1Test N/A N/A base_test AuthTestingBase N/A N/A Test Auth1 class. GetTestClass N/A N/A self N/A N/A N/A N/A N/A base Auth1 N/A testStep1 N/A N/A self N/A N/A N/A Test the first step of Auth1 authentication. N/A N/A N/A N/A self mox StubOutWithMock N/A self ba Nonce N/A N/A N/A N/A self mox StubOutWithMock N/A self ba _AssembleMessage N/A N/A N/A N/A self mox StubOutWithMock N/A self ba Sign N/A N/A N/A N/A self mox StubOutWithMock N/A self ba SessionSetCnSn N/A N/A N/A N/A self mox StubOutWithMock N/A base base64 urlsafe_b64encode N/A sn N/A GetRandomInt N/A cn N/A GetRandomInt N/A N/A N/A N/A N/A N/A self ba Nonce AndReturn sn N/A m N/A %s %s N/A cn sn N/A N/A N/A N/A N/A N/A self ba _AssembleMessage N/A str cn N/A str sn AndReturn m N/A N/A N/A N/A N/A N/A self ba Sign m AndReturn N/A SIGN(%s) m N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64encode N/A SIGN(%s) m AndReturn B64SIG N/A N/A N/A N/A N/A N/A self ba _AssembleMessage m B64SIG AndReturn N/A %s B64SIG m N/A N/A N/A N/A self ba SessionSetCnSn cn sn N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input n N/A str cn N/A N/A N/A self AssertState N/A N/A base State OUTPUT N/A N/A N/A self assertEqual N/A N/A N/A self ba Output N/A N/A self _MakeMsg cn sn B64SIG N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self mox VerifyAll N/A testStep2Success N/A N/A self N/A N/A N/A Test the second step of Auth1 authentication. N/A auth_token X_auth_token N/A m data that was signed N/A s signature N/A s_b64 signature, b64d N/A c cert N/A c_b64 cert, b64d N/A cn 123 N/A sn 456 N/A uuid a-b-c-d-e-uuid N/A mock_cert N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A mock_cert GetPublicKey AndReturn mock_cert N/A N/A N/A N/A N/A mock_cert SetRequiredIssuer N/A N/A self ba _required_issuer AndReturn None N/A N/A N/A N/A N/A mock_cert CheckAll AndReturn None N/A N/A N/A N/A N/A mock_cert GetSubject AndReturn uuid N/A N/A N/A N/A self mox StubOutWithMock N/A self ba _SplitMessage N/A N/A N/A N/A self mox StubOutWithMock N/A base base64 urlsafe_b64decode N/A N/A N/A N/A self mox StubOutWithMock N/A self ba LoadOtherCert N/A N/A N/A N/A self mox StubOutWithMock N/A self ba VerifyDataSignedWithCert N/A N/A N/A N/A self mox StubOutWithMock N/A self ba VerifyCertSignedByCA N/A N/A N/A N/A self mox StubOutWithMock N/A self ba SessionVerifyKnownCnSn N/A N/A N/A N/A self mox StubOutWithMock N/A self ba SessionCreateAuthToken N/A N/A N/A N/A self mox StubOutWithMock N/A self ba SessionDelCn N/A N/A N/A N/A N/A N/A self ba _SplitMessage m 3 AndReturn N/A c_b64 cn sn N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64decode N/A str s_b64 AndReturn s N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64decode N/A str c_b64 AndReturn c N/A N/A N/A N/A N/A N/A self ba LoadOtherCert c AndReturn mock_cert N/A N/A N/A N/A N/A N/A self ba VerifyDataSignedWithCert m s mock_cert AndReturn True N/A N/A N/A N/A N/A N/A self ba VerifyCertSignedByCA mock_cert AndReturn True N/A N/A N/A N/A N/A N/A self ba SessionVerifyKnownCnSn cn sn AndReturn True N/A N/A N/A N/A N/A N/A self ba SessionCreateAuthToken uuid AndReturn auth_token N/A N/A N/A N/A N/A N/A self ba SessionDelCn cn AndReturn True N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input m m s s_b64 N/A N/A N/A self AssertState N/A N/A base State OUTPUT N/A N/A N/A self assertEqual N/A N/A N/A self ba Output auth_token N/A N/A N/A self AssertAuthState N/A N/A base AuthState OK N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A N/A self mox VerifyAll N/A testStep2SplitMessageFailure N/A N/A self N/A N/A N/A Test the second step of Auth1 authentication.

    In this test, _SplitMessage() failed and raises MessageError,
    failing auth immediately.
     N/A m data that was signed N/A s_b64 signature, b64d N/A N/A N/A N/A self mox StubOutWithMock N/A self ba _SplitMessage N/A N/A N/A N/A self mox StubOutWithMock N/A self ba AuthFail N/A N/A N/A N/A N/A N/A self ba _SplitMessage m 3 AndRaise N/A base MessageError N/A N/A N/A N/A N/A N/A self ba AuthFail AndReturn None N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input m m s s_b64 N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A self AssertState N/A N/A base State INPUT N/A N/A N/A N/A self mox VerifyAll N/A N/A Auth1ClientTest N/A N/A base_test AuthTestingBase N/A N/A Test Auth1Client class. GetTestClass N/A N/A self N/A N/A N/A N/A N/A base Auth1Client N/A testStep0 N/A N/A self N/A N/A N/A Test Step0 of the client auth. N/A N/A N/A N/A self mox StubOutWithMock N/A self ba Nonce N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self ba _session Set N/A N/A N/A N/A N/A N/A self ba Nonce AndReturn 1 N/A N/A N/A N/A N/A N/A N/A self ba _session Set cn 1 AndReturn None N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input N/A N/A N/A self AssertState N/A N/A base State OUTPUT N/A N/A N/A self assertEqual 1 N/A N/A N/A self ba Output N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A N/A self mox VerifyAll N/A testStep1 N/A N/A self N/A N/A N/A Test Step1 of client auth. N/A cn 111 N/A sn 555 N/A s_b64 signature b64 N/A s signature N/A m N/A %s %s %s N/A cn sn s N/A N/A N/A self ba _ca_cert ca cert N/A N/A N/A self ba _cert_str client cert raw string N/A N/A N/A N/A N/A self ba _session Set cn cn N/A N/A N/A self ba _server_cert_pem ---- server pem ---- N/A c_b64 client_cert raw string in b64 N/A msg N/A N/A : join N/A c_b64 cn sn N/A cn_sn_m N/A %s %s N/A cn sn N/A mock_server_cert N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A self mox StubOutWithMock N/A self ba _SplitMessage N/A N/A N/A N/A self mox StubOutWithMock N/A self ba _AssembleMessage N/A N/A N/A N/A self mox StubOutWithMock N/A base base64 urlsafe_b64decode N/A N/A N/A N/A self mox StubOutWithMock N/A base base64 urlsafe_b64encode N/A N/A N/A N/A self mox StubOutWithMock N/A self ba LoadOtherCert N/A N/A N/A N/A self mox StubOutWithMock N/A self ba VerifyCertSignedByCA N/A N/A N/A N/A self mox StubOutWithMock N/A self ba VerifyDataSignedWithCert N/A N/A N/A N/A self mox StubOutWithMock N/A self ba Sign N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self ba _session Get N/A N/A N/A N/A N/A N/A self ba _SplitMessage m 3 AndReturn N/A cn sn s_b64 N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64decode s_b64 AndReturn s N/A N/A N/A N/A N/A N/A self ba LoadOtherCert N/A N/A self ba _server_cert_pem AndReturn mock_server_cert N/A N/A N/A N/A N/A N/A self ba VerifyCertSignedByCA mock_server_cert AndReturn True N/A N/A N/A N/A N/A N/A N/A self ba _session Get cn AndReturn cn N/A N/A N/A N/A N/A N/A self ba _AssembleMessage cn sn AndReturn cn_sn_m N/A N/A N/A N/A N/A N/A self ba VerifyDataSignedWithCert cn_sn_m s mock_server_cert AndReturn True N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64encode N/A N/A self ba _cert_str AndReturn c_b64 N/A N/A N/A N/A N/A N/A self ba _AssembleMessage c_b64 cn sn AndReturn msg N/A N/A N/A N/A N/A N/A self ba Sign msg AndReturn s N/A N/A N/A N/A N/A N/A base base64 urlsafe_b64encode s AndReturn s_b64 N/A expect_output N/A m s msg s_b64 N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input m m N/A N/A N/A self AssertState N/A N/A base State OUTPUT N/A N/A N/A self assertEqual expect_output N/A N/A N/A self ba Output N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A N/A self mox VerifyAll N/A testStep3 N/A N/A self N/A N/A N/A Test Step3 of client auth. N/A token N/A N/A base Auth1 TOKEN N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self ba _session DeleteById N/A N/A N/A N/A N/A self ba _session DeleteById cn N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A self AssertAuthState N/A N/A base AuthState UNKNOWN N/A N/A N/A N/A self ba Input t token N/A N/A N/A self AssertAuthState N/A N/A base AuthState OK N/A N/A N/A self AssertState N/A N/A N/A self ba DefaultState N/A N/A N/A N/A self mox VerifyAll N/A N/A main N/A N/A unused_argv N/A N/A N/A N/A N/A basetest main N/A N/A N/A __name__ __main__ N/A N/A N/A N/A app run