Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/j/django-oscar-HEAD/tests/integration/catalogue/product_tests.py   django-oscar(Download)
    def setUp(self):
        self.product_class, _ = ProductClass.objects.get_or_create(
            name='Clothing')
 
 
    def setUp(self):
        self.product_class,_ = ProductClass.objects.get_or_create(
            name='Clothing'
        )
        self.option_group = AttributeOptionGroup.objects.create(name='group')

src/d/j/django-oscar-HEAD/tests/unit/catalogue/__init__.py   django-oscar(Download)
    def setUp(self):
        self.product_class, _ = ProductClass.objects.get_or_create(
            name='Pickle')
 
    def test_product_pickling_works(self):