Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Dict Str Str Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Dict Str Str Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Dict Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Dict Str Str Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr
N/A hashlib md5 N/A mock N/A pytest django.utils six localshop.apps.packages tasks models tests.factories ReleaseFileFactory PackageFactory test_download_file N/A N/A requests_mock N/A N/A N/A file_data N/A N/A six b My cool package N/A release_file N/A ReleaseFileFactory distribution None md5_digest N/A N/A N/A md5 file_data hexdigest N/A N/A requests_mock return_value N/A N/A mock Mock N/A headers content N/A content-length content-type N/A len file_data application/octet-stream file_data N/A N/A N/A N/A tasks download_file run N/A release_file pk N/A release_file N/A N/A N/A N/A models ReleaseFile objects get pk N/A release_file pk N/A N/A N/A N/A N/A release_file distribution read file_data N/A N/A N/A N/A release_file distribution size N/A len file_data N/A N/A N/A N/A release_file distribution name default/2.7/t/test-package/test-1.0.0-sdist.zip N/A N/A N/A mock patch requests.get N/A N/A pytest mark django_db test_download_file_incorrect_md5_sum N/A N/A requests_mock N/A N/A N/A file_data N/A N/A six b My cool package N/A release_file N/A ReleaseFileFactory distribution None md5_digest arcoiro N/A N/A requests_mock return_value N/A N/A mock Mock N/A headers content N/A content-length content-type N/A len file_data application/octet-stream file_data N/A N/A N/A N/A tasks download_file run N/A release_file pk N/A release_file N/A N/A N/A N/A models ReleaseFile objects get pk N/A release_file pk N/A N/A N/A release_file distribution N/A N/A N/A mock patch requests.get N/A N/A pytest mark django_db test_download_file_missing_content_length N/A N/A requests_mock N/A N/A N/A file_data N/A N/A six b My cool package N/A release_file N/A ReleaseFileFactory distribution None md5_digest N/A N/A N/A md5 file_data hexdigest N/A N/A requests_mock return_value N/A N/A mock Mock N/A headers content N/A content-type application/octet-stream file_data N/A N/A N/A N/A tasks download_file run N/A release_file pk N/A release_file N/A N/A N/A N/A models ReleaseFile objects get pk N/A release_file pk N/A N/A N/A N/A N/A release_file distribution read file_data N/A N/A N/A N/A release_file distribution size N/A len file_data N/A N/A N/A N/A release_file distribution name default/2.7/t/test-package/test-1.0.0-sdist.zip N/A N/A N/A mock patch requests.get N/A N/A pytest mark django_db test_download_file_with_proxy_enabled N/A N/A requests_mock settings N/A N/A N/A N/A settings LOCALSHOP_HTTP_PROXY N/A http http://10.10.1.10:3128/ N/A file_data N/A N/A six b My cool package N/A release_file N/A ReleaseFileFactory distribution None md5_digest N/A N/A N/A md5 file_data hexdigest N/A N/A requests_mock return_value N/A N/A mock Mock N/A headers content N/A content-length content-type N/A len file_data application/octet-stream file_data N/A N/A N/A N/A tasks download_file run N/A release_file pk N/A N/A N/A requests_mock assert_called_once_with http://www.example.org/download/test-1.0.0-sdist.zip proxies N/A settings LOCALSHOP_HTTP_PROXY stream True N/A N/A N/A mock patch requests.get N/A N/A pytest mark django_db test_update_package_should_call_get_package_data N/A N/A enqueue_mock N/A N/A N/A N/A PackageFactory name local is_local True N/A pypi_package N/A PackageFactory name pypi is_local False N/A N/A N/A tasks update_packages N/A N/A N/A enqueue_mock call_count 1 N/A N/A N/A enqueue_mock assert_called_once_with N/A tasks fetch_package N/A pypi_package name N/A N/A N/A mock patch localshop.apps.packages.tasks.enqueue N/A N/A pytest mark django_db