Module Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad ListLoad AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad ListLoad AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad ListLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad ListLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert UnaryOpNot AttributeLoad SubscriptLoad NameLoad Index Num attr Assert Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Slice Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert UnaryOpNot AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert UnaryOpNot AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareIs SubscriptLoad Call AttributeLoad NameLoad attr Dict Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Str Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assign NameStore ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Assert CompareEq Call NameLoad NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Str Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Str Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Str Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assert CompareEq AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Str Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareNotIn Str Call AttributeLoad NameLoad attr Dict decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Dict Str Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareIs SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareIs SubscriptLoad Call AttributeLoad NameLoad attr Dict Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Str Dict Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Assert UnaryOpNot SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assert SubscriptLoad Call AttributeLoad NameLoad attr Dict Index Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad keyword Str NameStore body With Call AttributeLoad NameLoad attr NameLoad keyword Str NameStore body Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr finalbody If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body With Call AttributeLoad NameLoad attr NameLoad NameStore body Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad keyword Str NameStore body Assert CompareIn Str Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list
N/A N/A json N/A os N/A zipfile tempfile NamedTemporaryFile N/A mock N/A pytest django forms olympia amo olympia.amo.tests TestCase olympia.addons.models Addon olympia.applications.models AppVersion olympia.files utils olympia.files.models File olympia.versions.models Version N/A pytestmark N/A N/A pytest mark django_db test_is_beta N/A N/A N/A N/A N/A N/A N/A N/A utils is_beta 1.2 N/A N/A N/A utils is_beta 1.2a N/A N/A N/A utils is_beta 1.2a1 N/A N/A N/A utils is_beta 1.2a123 N/A N/A N/A utils is_beta 1.2a.1 N/A N/A N/A utils is_beta 1.2a.123 N/A N/A N/A utils is_beta 1.2a-1 N/A N/A N/A utils is_beta 1.2a-123 N/A N/A N/A utils is_beta 1.2alpha N/A N/A N/A utils is_beta 1.2alpha N/A N/A N/A utils is_beta 1.2alpha1 N/A N/A N/A utils is_beta 1.2alpha123 N/A N/A N/A utils is_beta 1.2alpha.1 N/A N/A N/A utils is_beta 1.2alpha.123 N/A N/A N/A utils is_beta 1.2alpha-1 N/A N/A N/A utils is_beta 1.2alpha-123 N/A N/A N/A utils is_beta 1.2b N/A N/A N/A utils is_beta 1.2b1 N/A N/A N/A utils is_beta 1.2b123 N/A N/A N/A utils is_beta 1.2b.1 N/A N/A N/A utils is_beta 1.2b.123 N/A N/A N/A utils is_beta 1.2b-1 N/A N/A N/A utils is_beta 1.2b-123 N/A N/A N/A utils is_beta 1.2beta N/A N/A N/A utils is_beta 1.2beta1 N/A N/A N/A utils is_beta 1.2beta123 N/A N/A N/A utils is_beta 1.2beta.1 N/A N/A N/A utils is_beta 1.2beta.123 N/A N/A N/A utils is_beta 1.2beta-1 N/A N/A N/A utils is_beta 1.2beta-123 N/A N/A N/A utils is_beta 1.2pre N/A N/A N/A utils is_beta 1.2pre1 N/A N/A N/A utils is_beta 1.2pre123 N/A N/A N/A utils is_beta 1.2pre.1 N/A N/A N/A utils is_beta 1.2pre.123 N/A N/A N/A utils is_beta 1.2pre-1 N/A N/A N/A utils is_beta 1.2pre-123 N/A N/A N/A utils is_beta 1.2rc N/A N/A N/A utils is_beta 1.2rc1 N/A N/A N/A utils is_beta 1.2rc123 N/A N/A N/A utils is_beta 1.2rc.1 N/A N/A N/A utils is_beta 1.2rc.123 N/A N/A N/A utils is_beta 1.2rc-1 N/A N/A N/A utils is_beta 1.2rc-123 N/A TestFindJetpacks N/A TestCase N/A N/A fixtures N/A base/addon_3615 setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestFindJetpacks self setUp N/A N/A N/A N/A File objects update jetpack_version 1.0 N/A N/A self file N/A N/A N/A N/A N/A File objects filter version__addon 3615 get N/A test_success N/A N/A self N/A N/A N/A files N/A N/A utils find_jetpacks 1.0 1.1 N/A N/A files N/A N/A self file N/A test_skip_autorepackage N/A N/A self N/A N/A N/A N/A N/A N/A Addon objects update auto_repackage False N/A N/A N/A N/A utils find_jetpacks 1.0 1.1 N/A N/A test_minver N/A N/A self N/A N/A N/A files N/A N/A utils find_jetpacks 1.1 1.2 N/A N/A files N/A N/A self file N/A N/A N/A N/A files N/A 0 needs_upgrade N/A test_maxver N/A N/A self N/A N/A N/A files N/A N/A utils find_jetpacks .1 1.0 N/A N/A files N/A N/A self file N/A N/A N/A N/A files N/A 0 needs_upgrade N/A test_unreviewed_files_plus_reviewed_file N/A N/A self N/A N/A N/A v N/A N/A N/A Version objects create addon_id 3615 N/A new_file N/A N/A N/A File objects create version v jetpack_version 1.0 N/A N/A N/A N/A Version objects create addon_id 3615 N/A new_file2 N/A N/A N/A File objects create version v jetpack_version 1.0 N/A N/A N/A new_file status N/A amo STATUS_UNREVIEWED N/A N/A N/A new_file2 status N/A amo STATUS_UNREVIEWED N/A files N/A N/A utils find_jetpacks 1.0 1.1 N/A N/A files N/A N/A self file new_file new_file2 N/A N/A all N/A N/A f needs_upgrade N/A f files N/A N/A N/A new_file update status N/A amo STATUS_PUBLIC N/A files N/A N/A utils find_jetpacks 1.0 1.1 N/A N/A files N/A N/A self file new_file new_file2 N/A N/A N/A N/A files N/A 0 needs_upgrade N/A N/A all N/A N/A f needs_upgrade N/A f N/A files N/A 1 N/A N/A TestExtractor N/A TestCase N/A os_path_exists_for N/A N/A self path_to_accept N/A N/A N/A Helper function that returns a function for a mock.

        The returned function will return True if the path passed as parameter
        endswith the "path_to_accept".
         N/A N/A N/A N/A path N/A N/A N/A path endswith path_to_accept N/A test_no_manifest N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A forms ValidationError exc N/A N/A N/A N/A N/A utils Extractor parse foobar N/A N/A N/A N/A exc exception message No install.rdf or package.json or manifest.json found N/A test_parse_install_rdf N/A N/A self exists_mock rdf_extractor package_json_extractor manifest_json_extractor N/A N/A N/A N/A exists_mock side_effect N/A N/A self os_path_exists_for install.rdf N/A N/A N/A N/A utils Extractor parse foobar N/A N/A rdf_extractor called N/A N/A N/A package_json_extractor called N/A N/A N/A manifest_json_extractor called N/A N/A N/A mock patch olympia.files.utils.ManifestJSONExtractor N/A N/A mock patch olympia.files.utils.PackageJSONExtractor N/A N/A mock patch olympia.files.utils.RDFExtractor N/A N/A mock patch olympia.files.utils.os.path.exists test_parse_package_json N/A N/A self exists_mock rdf_extractor package_json_extractor manifest_json_extractor N/A N/A N/A N/A exists_mock side_effect N/A N/A self os_path_exists_for package.json N/A N/A N/A N/A utils Extractor parse foobar N/A N/A N/A rdf_extractor called N/A N/A package_json_extractor called N/A N/A N/A manifest_json_extractor called N/A N/A N/A mock patch olympia.files.utils.ManifestJSONExtractor N/A N/A mock patch olympia.files.utils.PackageJSONExtractor N/A N/A mock patch olympia.files.utils.RDFExtractor N/A N/A mock patch olympia.files.utils.os.path.exists test_parse_manifest_json N/A N/A self exists_mock rdf_extractor package_json_extractor manifest_json_extractor N/A N/A N/A N/A exists_mock side_effect N/A N/A self os_path_exists_for manifest.json N/A N/A N/A N/A utils Extractor parse foobar N/A N/A N/A rdf_extractor called N/A N/A N/A package_json_extractor called N/A N/A manifest_json_extractor called N/A N/A N/A mock patch olympia.files.utils.ManifestJSONExtractor N/A N/A mock patch olympia.files.utils.PackageJSONExtractor N/A N/A mock patch olympia.files.utils.RDFExtractor N/A N/A mock patch olympia.files.utils.os.path.exists N/A TestPackageJSONExtractor N/A TestCase N/A parse N/A N/A self base_data N/A N/A N/A N/A N/A N/A N/A utils PackageJSONExtractor /fake_path N/A N/A json dumps base_data parse N/A create_appversion N/A N/A self name version N/A N/A N/A N/A N/A N/A AppVersion objects create application N/A N/A N/A amo APPS N/A name id version version N/A test_instanciate_without_data N/A N/A self N/A N/A N/A Without data, we load the data from the file path. N/A data N/A id some-id N/A N/A NamedTemporaryFile file_ N/A N/A N/A N/A file_ write N/A N/A json dumps data N/A N/A N/A file_ flush N/A pje N/A N/A utils PackageJSONExtractor N/A file_ name N/A N/A N/A pje data data N/A test_guid N/A N/A self N/A N/A N/A Use id for the guid. N/A N/A N/A N/A N/A self parse N/A id some-id N/A guid some-id N/A test_name_for_guid_if_no_id N/A N/A self N/A N/A N/A Use the name for the guid if there is no id. N/A N/A N/A N/A N/A self parse N/A name addon-name N/A guid addon-name N/A test_type N/A N/A self N/A N/A N/A Package.json addons are always ADDON_EXTENSION. N/A N/A N/A N/A N/A self parse N/A N/A type N/A amo ADDON_EXTENSION N/A test_no_restart N/A N/A self N/A N/A N/A Package.json addons are always no-restart. N/A N/A N/A N/A N/A self parse N/A N/A no_restart True N/A test_name_from_title_with_name N/A N/A self N/A N/A N/A Use the title for the name. N/A data N/A title name The Addon Title the-addon-name N/A N/A N/A N/A N/A self parse data N/A name The Addon Title N/A test_name_from_name_without_title N/A N/A self N/A N/A N/A Use the name for the name if there is no title. N/A N/A N/A N/A N/A self parse N/A name the-addon-name N/A name the-addon-name N/A test_version N/A N/A self N/A N/A N/A Use version for the version. N/A N/A N/A N/A N/A self parse N/A version 23.0.1 N/A version 23.0.1 N/A test_homepage N/A N/A self N/A N/A N/A Use homepage for the homepage. N/A N/A N/A N/A N/A self parse N/A homepage http://my-addon.org N/A homepage http://my-addon.org N/A test_summary N/A N/A self N/A N/A N/A Use description for the summary. N/A N/A N/A N/A N/A self parse N/A description An addon. N/A summary An addon. N/A test_apps N/A N/A self N/A N/A N/A Use engines for apps. N/A firefox_version N/A N/A self create_appversion firefox 33.0a1 N/A thunderbird_version N/A N/A self create_appversion thunderbird 33.0a1 N/A data N/A engines N/A firefox thunderbird >=33.0a1 >=33.0a1 N/A apps N/A N/A N/A self parse data N/A apps N/A apps_dict N/A dict N/A N/A N/A N/A app appdata short app N/A app apps N/A N/A N/A sorted N/A N/A apps_dict keys N/A firefox thunderbird N/A N/A N/A N/A apps_dict N/A firefox min firefox_version N/A N/A N/A N/A apps_dict N/A firefox max firefox_version N/A N/A N/A N/A apps_dict N/A thunderbird min thunderbird_version N/A N/A N/A N/A apps_dict N/A thunderbird max thunderbird_version N/A test_unknown_apps_are_ignored N/A N/A self N/A N/A N/A Unknown engines get ignored. N/A N/A N/A self create_appversion firefox 33.0a1 N/A N/A N/A self create_appversion thunderbird 33.0a1 N/A data N/A engines N/A firefox thunderbird node >=33.0a1 >=33.0a1 >=0.10 N/A apps N/A N/A N/A self parse data N/A apps N/A engines N/A N/A N/A app appdata short N/A app apps N/A N/A N/A sorted engines N/A firefox thunderbird N/A test_invalid_app_versions_are_ignored N/A N/A self N/A N/A N/A Valid engines with invalid versions are ignored. N/A firefox_version N/A N/A self create_appversion firefox 33.0a1 N/A data N/A engines N/A firefox fennec >=33.0a1 >=33.0a1 N/A apps N/A N/A N/A self parse data N/A apps N/A N/A N/A len apps 1 N/A N/A N/A N/A N/A apps N/A 0 appdata short firefox N/A N/A N/A N/A apps N/A 0 min firefox_version N/A N/A N/A N/A apps N/A 0 max firefox_version N/A test_fennec_is_treated_as_android N/A N/A self N/A N/A N/A Treat the fennec engine as android. N/A android_version N/A N/A self create_appversion android 33.0a1 N/A data N/A engines N/A fennec node >=33.0a1 >=0.10 N/A apps N/A N/A N/A self parse data N/A apps N/A N/A N/A N/A N/A apps N/A 0 appdata short android N/A N/A N/A N/A apps N/A 0 min android_version N/A N/A N/A N/A apps N/A 0 max android_version N/A test_is_webextension N/A N/A self N/A N/A N/A An add-on with a package.json file can't be a webextension. N/A N/A is_webextension N/A N/A self parse N/A N/A N/A TestManifestJSONExtractor N/A TestCase N/A parse N/A N/A self base_data N/A N/A N/A N/A N/A N/A N/A utils ManifestJSONExtractor /fake_path N/A N/A json dumps base_data parse N/A create_appversion N/A N/A self name version N/A N/A N/A N/A N/A N/A AppVersion objects create application N/A N/A N/A amo APPS N/A name id version version N/A test_instanciate_without_data N/A N/A self N/A N/A N/A Without data, we load the data from the file path. N/A data N/A id some-id N/A N/A NamedTemporaryFile file_ N/A N/A N/A N/A file_ write N/A N/A json dumps data N/A N/A N/A file_ flush N/A mje N/A N/A utils ManifestJSONExtractor N/A file_ name N/A N/A N/A mje data data N/A test_guid N/A N/A self N/A N/A N/A Use applications>gecko>id for the guid. N/A N/A N/A N/A N/A self parse N/A applications N/A gecko N/A id some-id N/A guid some-id N/A test_name_for_guid_if_no_id N/A N/A self N/A N/A N/A Don't use the name for the guid if there is no id. N/A N/A N/A N/A N/A self parse N/A name addon-name N/A guid None N/A test_type N/A N/A self N/A N/A N/A manifest.json addons are always ADDON_EXTENSION. N/A N/A N/A N/A N/A self parse N/A N/A type N/A amo ADDON_EXTENSION N/A test_no_restart N/A N/A self N/A N/A N/A manifest.json addons are always no-restart. N/A N/A N/A N/A N/A self parse N/A N/A no_restart True N/A test_name N/A N/A self N/A N/A N/A Use name for the name. N/A N/A N/A N/A N/A self parse N/A name addon-name N/A name addon-name N/A test_version N/A N/A self N/A N/A N/A Use version for the version. N/A N/A N/A N/A N/A self parse N/A version 23.0.1 N/A version 23.0.1 N/A test_homepage N/A N/A self N/A N/A N/A Use homepage_url for the homepage. N/A N/A N/A N/A N/A self parse N/A homepage_url http://my-addon.org N/A homepage http://my-addon.org N/A test_summary N/A N/A self N/A N/A N/A Use description for the summary. N/A N/A N/A N/A N/A self parse N/A description An addon. N/A summary An addon. N/A test_apps_use_provided_versions N/A N/A self N/A N/A N/A Use the min and max versions if provided. N/A firefox_min_version N/A N/A self create_appversion firefox 30.0 N/A firefox_max_version N/A N/A self create_appversion firefox 30.* N/A N/A N/A self create_appversion firefox 42.0 N/A N/A N/A self create_appversion firefox * N/A data N/A applications N/A gecko N/A strict_min_version strict_max_version >=30.0 =30.* N/A apps N/A N/A N/A self parse data N/A apps N/A N/A N/A len apps 1 N/A app N/A apps N/A 0 N/A N/A N/A app appdata N/A amo FIREFOX N/A N/A N/A app min firefox_min_version N/A N/A N/A app max firefox_max_version N/A test_apps_use_default_versions_if_none_provided N/A N/A self N/A N/A N/A Use the default min and max versions if none provided. N/A firefox_min_version N/A N/A self create_appversion firefox 42.0 N/A firefox_max_version N/A N/A self create_appversion firefox * N/A data N/A applications N/A gecko N/A id some-id N/A apps N/A N/A N/A self parse data N/A apps N/A N/A N/A len apps 1 N/A app N/A apps N/A 0 N/A N/A N/A app appdata N/A amo FIREFOX N/A N/A N/A app min firefox_min_version N/A N/A N/A app max firefox_max_version N/A test_invalid_app_versions_are_ignored N/A N/A self N/A N/A N/A Invalid versions are ignored. N/A data N/A applications N/A gecko N/A strict_min_version strict_max_version >=30.0 =30.* N/A N/A N/A N/A N/A self parse data N/A apps N/A test_is_webextension N/A N/A self N/A N/A N/A N/A N/A N/A self parse N/A N/A is_webextension N/A N/A test_zip_folder_content N/A N/A N/A N/A N/A extension_file src/olympia/files/fixtures/files/extension.xpi N/A N/A temp_filename temp_folder N/A None None N/A N/A N/A temp_folder N/A N/A utils extract_zip extension_file N/A N/A N/A sorted N/A N/A os listdir temp_folder N/A chrome chrome.manifest install.rdf N/A temp_filename N/A N/A N/A amo tests get_temp_filename N/A N/A N/A utils zip_folder_content temp_folder temp_filename N/A N/A N/A zipfile ZipFile temp_filename mode r new N/A N/A N/A N/A zipfile ZipFile extension_file mode r orig N/A N/A N/A N/A sorted N/A N/A new namelist N/A sorted N/A N/A orig namelist N/A N/A N/A N/A temp_folder None N/A N/A N/A os path exists temp_folder N/A N/A N/A N/A N/A amo utils rm_local_tmp_dir temp_folder N/A N/A N/A temp_filename None N/A N/A N/A os path exists temp_filename N/A N/A N/A N/A os unlink temp_filename N/A test_repack N/A N/A N/A N/A N/A extension_file src/olympia/files/fixtures/files/extension.xpi N/A N/A N/A N/A amo tests copy_file_to_temp extension_file temp_filename N/A N/A N/A N/A utils repack temp_filename folder_path N/A N/A N/A N/A sorted N/A N/A os listdir folder_path N/A chrome chrome.manifest install.rdf N/A N/A open N/A N/A N/A os path join folder_path foo.bar w file_ N/A N/A N/A N/A file_ write foobar N/A N/A N/A N/A N/A os path exists folder_path N/A N/A N/A N/A os path exists temp_filename N/A N/A N/A zipfile ZipFile temp_filename mode r zf N/A N/A N/A foo.bar N/A N/A zf namelist N/A N/A N/A N/A zf read foo.bar foobar N/A file_obj N/A N/A N/A N/A N/A addon N/A N/A N/A amo tests addon_factory N/A N/A N/A addon update guid xxxxx N/A version N/A addon current_version N/A N/A N/A version all_files N/A 0 N/A N/A pytest fixture test_bump_version_in_install_rdf N/A N/A file_obj N/A N/A N/A N/A N/A N/A amo tests copy_file src/olympia/files/fixtures/files/jetpack.xpi N/A file_obj file_path N/A N/A N/A N/A utils update_version_number file_obj 1.3.1-signed N/A parsed N/A N/A utils parse_xpi N/A file_obj file_path N/A N/A N/A parsed N/A version 1.3.1-signed N/A test_bump_version_in_alt_install_rdf N/A N/A file_obj N/A N/A N/A N/A N/A N/A amo tests copy_file src/olympia/files/fixtures/files/alt-rdf.xpi N/A file_obj file_path N/A N/A N/A N/A utils update_version_number file_obj 2.1.106.1-signed N/A parsed N/A N/A utils parse_xpi N/A file_obj file_path N/A N/A N/A parsed N/A version 2.1.106.1-signed N/A test_bump_version_in_package_json N/A N/A file_obj N/A N/A N/A N/A N/A N/A amo tests copy_file src/olympia/files/fixtures/files/new-format-0.0.1.xpi N/A file_obj file_path N/A N/A N/A N/A utils update_version_number file_obj 0.0.1.1-signed N/A parsed N/A N/A utils parse_xpi N/A file_obj file_path N/A N/A N/A parsed N/A version 0.0.1.1-signed N/A test_bump_version_in_manifest_json N/A N/A file_obj N/A N/A N/A N/A N/A N/A amo tests copy_file src/olympia/files/fixtures/files/webextension.xpi N/A file_obj file_path N/A N/A N/A N/A utils update_version_number file_obj 0.0.1.1-signed N/A parsed N/A N/A utils parse_xpi N/A file_obj file_path N/A N/A N/A parsed N/A version 0.0.1.1-signed N/A