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

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

src/d/j/django-cachebot-0.4.1/cachebot/tests/manager_tests.py   django-cachebot(Download)
    def test_lookup(self, count=1):
        return
        connection.queries = []
        self.assertEqual(self.func(**self.kwargs).count(), count)
        self.assertEqual(len(connection.queries), 1)
        self.assertEqual(self.func(**self.kwargs).count(), count)
        self.assertEqual(len(connection.queries), 1)

src/d/j/django-cachebot-HEAD/cachebot/tests/manager_tests.py   django-cachebot(Download)
    def test_lookup(self, count=1):
        return
        connection.queries = []
        self.assertEqual(self.func(**self.kwargs).count(), count)
        self.assertEqual(len(connection.queries), 1)
        self.assertEqual(self.func(**self.kwargs).count(), count)
        self.assertEqual(len(connection.queries), 1)