def test_product_detail(self):
        self.response = self.get(reverse('product-detail', args=(1,)))
        self.response.assertStatusEqual(200)
        default_fields = ['stockrecords', 'description', 'title', 'url',
                          'date_updated', 'recommended_products', 'attributes',
                          'date_created', 'id', 'price', 'availability']
        for field in default_fields:
            self.assertIn(field, self.response.body)
        self.response.assertValueEqual('title', "Oscar T-shirt")
Test pickle support.
dataset/ETHPy150Open django-oscar/django-oscar-api/oscarapi/tests/testproduct.py/ProductTest.test_product_detail--crossover with--dataset/ETHPy150Open strawlab/python-pcl/tests/test.py/TestNumpyIO.test_pickle