Module Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd Str AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore Str Return NameLoad decorator_list AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpAdd Str NameLoad Assert CompareEq AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str keyword IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A pretend N/A pytest pyramid.httpexceptions HTTPTemporaryRedirect HTTPNotFound warehouse.legacy.views file_redirect common.db.packaging ProjectFactory ReleaseFactory FileFactory TestFileRedirect N/A N/A test_404_if_letter_and_name_not_match N/A N/A self N/A N/A N/A request N/A N/A pretend stub matchdict N/A path source/a/foo/foo-1.0.zip N/A resp N/A file_redirect request N/A N/A isinstance resp HTTPNotFound N/A test_doesnt_find_nonexistent_file N/A N/A self db_request path N/A N/A N/A N/A N/A db_request matchdict N/A path path N/A resp N/A file_redirect db_request N/A N/A isinstance resp HTTPNotFound N/A N/A N/A N/A pytest mark parametrize path N/A source/f/foo/foo-1.0.tar.gz source/f/foo/foo-1.0.tar.gz.asc test_redirects_to_real_file_url N/A N/A self db_request with_signature N/A N/A N/A project N/A N/A ProjectFactory create N/A release N/A N/A ReleaseFactory create project project N/A file_ N/A N/A FileFactory create release release filename N/A N/A {}-{}.tar.gz format N/A project name N/A release version python_version source size 27 has_signature with_signature N/A expected_filename N/A N/A with_signature N/A file_ filename N/A N/A file_ filename .asc N/A N/A N/A db_request matchdict N/A path N/A N/A source/{}/{}/{} format N/A N/A project name N/A 0 N/A project name expected_filename route_path N/A N/A name path N/A N/A N/A path N/A /packages/ab/ab/thisisahash/ N/A file_ filename N/A with_signature N/A N/A path .asc N/A path N/A N/A pretend call_recorder N/A N/A db_request route_path route_path N/A resp N/A file_redirect db_request N/A N/A isinstance resp HTTPTemporaryRedirect N/A N/A N/A N/A resp headers N/A Location N/A /packages/ab/ab/thisisahash/ expected_filename N/A N/A N/A route_path calls N/A N/A N/A pretend call packaging.file path N/A N/A with_signature N/A file_ path N/A file_ pgp_path N/A N/A N/A N/A pytest mark parametrize with_signature N/A True False test_404_with_existing_file_no_signature N/A N/A self db_request N/A N/A N/A project N/A N/A ProjectFactory create N/A release N/A N/A ReleaseFactory create project project N/A file_ N/A N/A FileFactory create release release filename N/A N/A {}-{}.tar.gz format N/A project name N/A release version python_version source size 27 has_signature False N/A N/A N/A db_request matchdict N/A path N/A N/A source/{}/{}/{} format N/A N/A project name N/A 0 N/A project name N/A N/A file_ filename .asc route_path N/A N/A name path N/A N/A N/A N/A N/A /packages/ab/ab/thisisahash/ N/A file_ filename .asc N/A N/A pretend call_recorder N/A N/A db_request route_path route_path N/A resp N/A file_redirect db_request N/A N/A isinstance resp HTTPNotFound N/A N/A