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

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

src/d/j/django-oscar-stores-HEAD/tests/functional/dashboard_tests.py   django-oscar-stores(Download)
    def test_list_with_search(self):
        resp = self.get(reverse('stores-dashboard:store-list') + '?address=portland+london')
        self.assertIn('form', resp.context)
        self.assertEqual(resp.context['form'].cleaned_data, {'address': 'portland london',
                                                             'name': ''})

src/d/j/django-oscar-fancypages-HEAD/tests/functional/tests_page.py   django-oscar-fancypages(Download)
        context = home_page.context[0]
 
        self.assertIn('page-container', context)
        self.assertEquals(context.get('object').id, fancypage.id)
        self.assertEquals(fancypage.containers.count(), 1)