Bases: unittest.case.TestCase
Tests the Ec2Token middleware
-
setUp()[source]
-
speed = 'fast'
-
tag = ['unit', 'api-aws', 'Ec2Token']
-
tearDown()[source]
-
test_call_auth_noaccess()[source]
-
test_call_auth_nosig()[source]
-
test_call_auth_nouser()[source]
-
test_call_err_denied()[source]
-
test_call_err_signature()[source]
-
test_call_err_tokenid()[source]
-
test_call_ok()[source]
-
test_call_ok_v2()[source]
-
test_call_x_auth_nouser_x_auth_user()[source]
-
test_call_x_auth_user()[source]
-
test_get_access_param_new()[source]
-
test_get_access_param_old()[source]
-
test_get_signature_param_new()[source]
-
test_get_signature_param_old()[source]