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/partner/strategy_tests.py   django-oscar(Download)
        for x in range(3):
            factories.create_product(parent=parent)
        self.info = self.strategy.fetch_for_group(parent)
 
    def test_specifies_product_is_unavailable(self):
        for x in range(2):
            factories.create_product(parent=parent)
        self.info = self.strategy.fetch_for_group(parent)
 
    def test_specifies_product_is_available(self):
        for x in range(2):
            factories.create_product(parent=parent)
        self.info = self.strategy.fetch_for_group(parent)
 
    def test_specifies_product_is_unavailable(self):