Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareIn AttributeLoad NameLoad attr ListLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Str Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Str NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad With Call NameLoad NameLoad NameStore body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str NameLoad keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareNotEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call NameLoad Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A os datetime datetime timedelta django.core.urlresolvers reverse django.test.utils override_settings N/A mock rest_framework.response Response olympia amo olympia.access.models Group GroupUser olympia.addons.models Addon AddonUser olympia.api.tests.utils APIKeyAuthTestCase olympia.devhub tasks olympia.files.models File FileUpload olympia.signing.views VersionView olympia.users.models UserProfile olympia.versions.models Version SigningAPITestCase N/A APIKeyAuthTestCase N/A N/A fixtures N/A base/addon_3615 base/user_4043307 setUp N/A N/A self N/A N/A N/A N/A self user N/A N/A N/A UserProfile objects get email del@icio.us N/A N/A self api_key N/A N/A self create_api_key N/A self user N/A N/A str N/A N/A self user pk :f N/A N/A BaseUploadVersionCase N/A SigningAPITestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BaseUploadVersionCase self setUp N/A N/A self guid {2fa4ed95-0317-4c6a-a74c-5f3e3912c1f9} N/A N/A self view N/A N/A VersionView as_view N/A patcher N/A N/A mock patch olympia.devhub.tasks.create_version_for_upload N/A N/A tasks create_version_for_upload non_atomic N/A N/A self create_version_for_upload N/A N/A patcher start N/A N/A N/A self addCleanup N/A patcher stop N/A url N/A N/A self guid version pk N/A None N/A N/A args N/A guid version N/A N/A pk None N/A N/A N/A N/A args append pk N/A N/A reverse signing.version args args N/A create_version N/A N/A self version N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid version version N/A N/A N/A response status_code N/A 201 202 N/A xpi_filepath N/A N/A self addon version N/A N/A N/A N/A N/A N/A os path join src olympia signing fixtures N/A N/A {addon}-{version}.xpi format addon addon version version N/A put N/A N/A self url version addon filename N/A None 3.0 @upload-version None N/A N/A N/A filename None N/A N/A filename N/A N/A self xpi_filepath addon version N/A N/A url None N/A N/A url N/A N/A self url addon version N/A N/A open filename upload N/A N/A N/A N/A N/A self client put url N/A upload upload HTTP_AUTHORIZATION N/A N/A self authorization N/A make_admin N/A N/A self user N/A N/A N/A admin_group N/A N/A N/A Group objects create name Admin rules *:* N/A N/A N/A N/A GroupUser objects create group admin_group user user N/A N/A TestUploadVersion N/A BaseUploadVersionCase N/A test_not_authenticated N/A N/A self N/A N/A N/A response N/A N/A N/A self client put N/A N/A self url N/A self guid 12.5 N/A N/A N/A response status_code 401 N/A test_read_only_mode N/A N/A self N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid 12.5 N/A N/A N/A response status_code 503 N/A N/A website maintenance N/A N/A response data N/A error N/A N/A override_settings READ_ONLY True test_addon_does_not_exist N/A N/A self sign_version N/A N/A N/A guid @create-version N/A qs N/A N/A N/A Addon unfiltered filter guid guid N/A N/A N/A N/A qs exists N/A response N/A N/A self put addon guid version 1.0 N/A N/A N/A response status_code 201 N/A N/A N/A qs exists N/A addon N/A N/A qs get N/A N/A N/A addon has_author N/A self user N/A N/A N/A addon is_listed N/A N/A N/A addon status N/A amo STATUS_LITE N/A N/A N/A sign_version assert_called_with N/A addon latest_version is_beta False N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version test_user_does_not_own_addon N/A N/A self N/A N/A N/A N/A self user N/A N/A N/A UserProfile objects create read_dev_agreement N/A N/A datetime now N/A N/A self api_key N/A N/A self create_api_key N/A self user bar N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 403 N/A N/A N/A N/A response data N/A error You do not own this addon. N/A test_admin_does_not_own_addon N/A N/A self N/A N/A N/A N/A self user N/A N/A N/A UserProfile objects create read_dev_agreement N/A N/A datetime now N/A N/A self api_key N/A N/A self create_api_key N/A self user bar N/A N/A N/A self make_admin N/A self user N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 403 N/A N/A N/A N/A response data N/A error You do not own this addon. N/A test_version_does_not_match_manifest_file N/A N/A self N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid 2.5 N/A N/A N/A response status_code 400 N/A N/A N/A N/A response data N/A error Version does not match the manifest file. N/A test_version_already_exists N/A N/A self N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid 2.1.072 version 2.1.072 N/A N/A N/A response status_code 409 N/A N/A N/A N/A response data N/A error Version already exists. N/A test_no_version_yet N/A N/A self from_upload N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 202 N/A N/A processed N/A response data N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A N/A N/A mock patch olympia.devhub.views.Version.from_upload test_version_added N/A N/A self sign_version N/A N/A N/A N/A N/A N/A N/A N/A Addon objects get guid N/A self guid status N/A amo STATUS_PUBLIC N/A qs N/A N/A N/A Version objects filter addon__guid N/A self guid version 3.0 N/A N/A N/A N/A qs exists N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 202 N/A N/A processed N/A response data N/A version N/A N/A qs get N/A N/A N/A N/A version addon guid N/A self guid N/A N/A N/A version version 3.0 N/A N/A N/A N/A N/A version statuses N/A 0 N/A 1 N/A amo STATUS_PUBLIC N/A N/A N/A N/A version addon status N/A amo STATUS_PUBLIC N/A N/A N/A sign_version assert_called_with version is_beta False N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version test_version_already_uploaded N/A N/A self N/A N/A N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 202 N/A N/A processed N/A response data N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 409 N/A N/A N/A N/A response data N/A error Version already exists. N/A test_version_failed_review N/A N/A self N/A N/A N/A N/A N/A self create_version 3.0 N/A version N/A N/A N/A Version objects get addon__guid N/A self guid version 3.0 N/A N/A N/A version update reviewed N/A N/A datetime today N/A N/A N/A N/A N/A N/A version files get update reviewed N/A N/A datetime today status N/A amo STATUS_DISABLED N/A response N/A N/A self put N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 409 N/A N/A N/A N/A response data N/A error Version already exists. N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A test_version_added_is_experiment N/A N/A self sign_version N/A N/A N/A N/A N/A self grant_permission N/A self user Experiments:submit N/A guid experiment@xpi N/A qs N/A N/A N/A Addon unfiltered filter guid guid N/A N/A N/A N/A qs exists N/A response N/A N/A self put addon guid version 0.1 filename src/olympia/files/fixtures/files/experiment.xpi N/A N/A N/A response status_code 201 N/A N/A N/A qs exists N/A addon N/A N/A qs get N/A N/A N/A addon has_author N/A self user N/A N/A N/A addon is_listed N/A N/A N/A addon status N/A amo STATUS_LITE N/A N/A N/A sign_version assert_called_with N/A addon latest_version is_beta False N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version test_version_added_is_experiment_reject_no_perm N/A N/A self sign_version N/A N/A N/A guid experiment@xpi N/A qs N/A N/A N/A Addon unfiltered filter guid guid N/A N/A N/A N/A qs exists N/A response N/A N/A self put addon guid version 0.1 filename src/olympia/files/fixtures/files/experiment.xpi N/A N/A N/A response status_code 400 N/A N/A N/A N/A response data N/A error You cannot submit this type of add-on N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version test_version_is_beta_unlisted N/A N/A self sign_version N/A N/A N/A N/A N/A N/A N/A N/A Addon objects get guid N/A self guid update status N/A amo STATUS_LITE is_listed False N/A version_string 4.0-beta1 N/A qs N/A N/A N/A Version objects filter addon__guid N/A self guid version version_string N/A N/A N/A N/A qs exists N/A response N/A N/A self put N/A N/A self url N/A self guid version_string version version_string N/A N/A N/A response status_code 202 N/A N/A processed N/A response data N/A version N/A N/A qs get N/A N/A N/A N/A version addon guid N/A self guid N/A N/A N/A version version version_string N/A N/A N/A N/A N/A version statuses N/A 0 N/A 1 N/A amo STATUS_LITE N/A N/A N/A N/A version addon status N/A amo STATUS_LITE N/A N/A N/A version is_beta N/A N/A N/A sign_version assert_called_with version is_beta False N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version test_version_is_beta N/A N/A self sign_version N/A N/A N/A N/A N/A N/A N/A N/A Addon objects get guid N/A self guid status N/A amo STATUS_PUBLIC N/A version_string 4.0-beta1 N/A qs N/A N/A N/A Version objects filter addon__guid N/A self guid version version_string N/A N/A N/A N/A qs exists N/A response N/A N/A self put N/A N/A self url N/A self guid version_string version version_string N/A N/A N/A response status_code 202 N/A N/A processed N/A response data N/A version N/A N/A qs get N/A N/A N/A N/A version addon guid N/A self guid N/A N/A N/A version version version_string N/A N/A N/A N/A N/A version statuses N/A 0 N/A 1 N/A amo STATUS_BETA N/A N/A N/A N/A version addon status N/A amo STATUS_PUBLIC N/A N/A version is_beta N/A N/A N/A sign_version assert_called_with version is_beta True N/A N/A N/A mock patch olympia.devhub.views.auto_sign_version N/A TestCheckVersion N/A BaseUploadVersionCase N/A test_not_authenticated N/A N/A self N/A N/A N/A response N/A N/A N/A self client get N/A N/A self url N/A self guid 12.5 N/A N/A N/A response status_code 401 N/A test_addon_does_not_exist N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A self url foo 12.5 N/A N/A N/A response status_code 404 N/A N/A N/A N/A response data N/A error Could not find add-on with id "foo". N/A test_user_does_not_own_addon N/A N/A self N/A N/A N/A N/A N/A self create_version 3.0 N/A N/A self user N/A N/A N/A UserProfile objects create read_dev_agreement N/A N/A datetime now N/A N/A self api_key N/A N/A self create_api_key N/A self user bar N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 403 N/A N/A N/A N/A response data N/A error You do not own this addon. N/A test_admin_can_view N/A N/A self N/A N/A N/A N/A N/A self create_version 3.0 N/A N/A self user N/A N/A N/A UserProfile objects create read_dev_agreement N/A N/A datetime now N/A N/A N/A self make_admin N/A self user N/A N/A self api_key N/A N/A self create_api_key N/A self user bar N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A test_version_does_not_exist N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A self url N/A self guid 2.5 N/A N/A N/A response status_code 404 N/A N/A N/A N/A response data N/A error No uploaded file for that addon and version. N/A test_version_exists N/A N/A self N/A N/A N/A N/A N/A self create_version 3.0 N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A test_version_exists_with_pk N/A N/A self N/A N/A N/A N/A N/A mock patch olympia.devhub.tasks.Version.from_upload N/A N/A N/A N/A self create_version 3.0 N/A upload N/A N/A N/A FileUpload objects latest N/A N/A N/A upload update created N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self create_version 3.0 N/A newer_upload N/A N/A N/A FileUpload objects latest N/A N/A newer_upload upload N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A upload uuid N/A N/A N/A response status_code 200 N/A N/A N/A N/A response data N/A pk N/A upload uuid N/A N/A processed N/A response data N/A test_version_exists_with_pk_not_owner N/A N/A self N/A N/A N/A N/A orig_user orig_api_key N/A N/A self user N/A self api_key N/A N/A self user N/A N/A N/A UserProfile objects create read_dev_agreement N/A N/A datetime now N/A N/A self api_key N/A N/A self create_api_key N/A self user bar N/A response N/A N/A self put addon @create-version version 1.0 N/A N/A N/A response status_code 201 N/A upload N/A N/A N/A FileUpload objects latest N/A response N/A N/A self get N/A N/A self url @create-version 1.0 N/A upload uuid N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A N/A N/A self user N/A self api_key N/A orig_user orig_api_key N/A N/A N/A self create_version 3.0 N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A upload uuid N/A N/A N/A response status_code 404 N/A N/A error N/A response data N/A test_version_download_url N/A N/A self N/A N/A N/A version_string 3.0 N/A qs N/A N/A N/A File objects filter version__addon__guid N/A self guid version__version version_string N/A N/A N/A N/A qs exists N/A N/A N/A self create_version version_string N/A response N/A N/A self get N/A N/A self url N/A self guid version_string N/A N/A N/A response status_code 200 N/A file_ N/A N/A qs get N/A N/A N/A N/A N/A N/A response data N/A files N/A 0 N/A download_url N/A N/A file_ get_signed_url api N/A test_file_hash N/A N/A self N/A N/A N/A version_string 3.0 N/A qs N/A N/A N/A File objects filter version__addon__guid N/A self guid version__version version_string N/A N/A N/A N/A qs exists N/A N/A N/A self create_version version_string N/A response N/A N/A self get N/A N/A self url N/A self guid version_string N/A N/A N/A response status_code 200 N/A file_ N/A N/A qs get N/A filename N/A N/A self xpi_filepath @upload-version version_string N/A N/A N/A N/A N/A N/A response data N/A files N/A 0 N/A hash N/A N/A file_ generate_hash filename filename N/A test_has_failed_upload N/A N/A self N/A N/A N/A addon N/A N/A N/A Addon objects get guid N/A self guid N/A N/A N/A N/A FileUpload objects create addon addon version 3.0 N/A N/A N/A self create_version 3.0 N/A response N/A N/A self get N/A N/A self url N/A self guid 3.0 N/A N/A N/A response status_code 200 N/A N/A processed N/A response data N/A N/A TestSignedFile N/A SigningAPITestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestSignedFile self setUp N/A N/A self file_ N/A N/A self create_file N/A url N/A N/A self N/A N/A N/A N/A reverse signing.file args N/A N/A N/A self file_ pk N/A create_file N/A N/A self N/A N/A N/A addon N/A N/A N/A Addon objects create name thing is_listed False N/A N/A N/A addon save N/A N/A N/A N/A AddonUser objects create user N/A self user addon addon N/A version N/A N/A N/A Version objects create addon addon N/A N/A N/A N/A File objects create version version N/A test_can_download_once_authenticated N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A self url N/A N/A N/A response status_code 302 N/A N/A N/A response N/A X-Target-Digest N/A N/A self file_ hash N/A test_cannot_download_without_authentication N/A N/A self N/A N/A N/A response N/A N/A N/A self client get N/A N/A self url N/A N/A N/A response status_code 401 N/A test_api_relies_on_version_downloader N/A N/A self N/A N/A N/A N/A N/A mock patch olympia.versions.views.download_file df N/A N/A N/A df return_value N/A Response N/A N/A N/A N/A self get N/A N/A self url N/A N/A N/A df called True N/A N/A N/A N/A N/A N/A df call_args N/A 0 N/A 0 user N/A self user N/A N/A N/A N/A N/A df call_args N/A 0 N/A 1 N/A str N/A N/A self file_ pk N/A N/A