Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Num Assign NameStore Call NameLoad Str keyword Dict Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Num Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A uuid django.core.urlresolvers reverse rest_framework status shop.tests.factories ProductFactory ProductTrxFactory ProductCategoryFactory shop.enums TrxType foobar.rest.fields MoneyField base AuthenticatedAPITestCase serialize_money N/A N/A x N/A N/A N/A N/A N/A N/A MoneyField to_representation x N/A TestProductAPI N/A AuthenticatedAPITestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super setUp N/A N/A N/A self force_authenticate N/A test_retrieve_existing N/A N/A self N/A N/A N/A product_obj N/A N/A ProductFactory create N/A N/A N/A ProductTrxFactory create product product_obj qty 10 trx_type N/A TrxType INVENTORY N/A url N/A reverse api:products-detail kwargs N/A pk N/A product_obj id N/A response N/A N/A N/A self api_client get url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_200_OK N/A N/A N/A self assertEqual N/A N/A response data N/A qty 10 N/A url N/A reverse api:products-detail kwargs N/A pk N/A N/A uuid uuid4 N/A response N/A N/A N/A self api_client get url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_404_NOT_FOUND N/A test_list_products N/A N/A self N/A N/A N/A code N/A range 9 N/A N/A N/A N/A ProductFactory create N/A fixed_code N/A N/A 1{0:012d} format 7331 N/A N/A N/A ProductFactory create code fixed_code N/A url N/A reverse api:products-list N/A response N/A N/A N/A self api_client get url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_200_OK N/A N/A N/A self assertEqual N/A len N/A response data 10 N/A url N/A reverse api:products-list N/A response N/A N/A N/A self api_client get url N/A code fixed_code N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_200_OK N/A N/A N/A self assertEqual N/A len N/A response data 1 N/A N/A TestProductCategoryAPI N/A AuthenticatedAPITestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super setUp N/A N/A N/A self force_authenticate N/A test_list_categories N/A N/A self N/A N/A N/A url N/A reverse api:categories-list N/A response N/A N/A N/A self api_client get url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_200_OK N/A N/A N/A self assertEqual N/A len N/A response data 0 N/A N/A N/A ProductCategoryFactory create N/A url N/A reverse api:categories-list N/A response N/A N/A N/A self api_client get url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_200_OK N/A N/A N/A self assertEqual N/A len N/A response data 1 N/A N/A