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

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

src/d/j/django-oscar-stores-HEAD/tests/functional/search_tests.py   django-oscar-stores(Download)
    def test_displays_all_stores_unfiltered(self):
        page = self.get(reverse('stores:index'))
        self.assertContains(page, self.main_store.name)
        self.assertContains(page, self.other_store.name)
 
        page = search_form.submit()
 
        self.assertContains(page, self.main_store.name)
        self.assertContains(page, self.other_store.name)
 
        page = search_form.submit()
 
        self.assertContains(page, self.main_store.name)
 
        stores = page.context[0].get('object_list')