Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore ListLoad Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A oscarapi.tests.utils APITest django.core.urlresolvers reverse ProductTest N/A APITest N/A N/A fixtures N/A product productcategory productattribute productclass productattributevalue category attributeoptiongroup attributeoption stockrecord partner test_product_list N/A N/A self N/A N/A N/A Check if we get a list of products with the default attributes N/A N/A self response N/A N/A self get product-list N/A N/A N/A N/A self response assertStatusEqual 200 N/A N/A N/A self assertEqual N/A len N/A N/A self response body 2 N/A product N/A N/A N/A self response body N/A 0 N/A default_fields N/A id url N/A field default_fields N/A N/A N/A N/A self assertIn field product N/A test_product_detail N/A N/A self N/A N/A N/A Check product details N/A N/A self response N/A N/A self get N/A reverse product-detail args N/A 1 N/A N/A N/A N/A self response assertStatusEqual 200 N/A default_fields N/A stockrecords description title url date_updated recommended_products attributes date_created id price availability N/A field default_fields N/A N/A N/A N/A self assertIn field N/A N/A self response body N/A N/A N/A N/A self response assertValueEqual title Oscar T-shirt N/A test_product_price N/A N/A self N/A N/A N/A See if we get the price information N/A N/A self response N/A N/A self get N/A reverse product-price args N/A 1 N/A N/A N/A N/A self response assertStatusEqual 200 N/A N/A N/A self assertIn excl_tax N/A N/A self response body N/A test_product_availability N/A N/A self N/A N/A N/A See if we get the availability information N/A N/A self response N/A N/A self get N/A reverse product-availability args N/A 1 N/A N/A N/A N/A self response assertStatusEqual 200 N/A N/A N/A self assertIn num_available N/A N/A self response body N/A N/A