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

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

src/d/j/django-profiling-0.1/dprofiling/tests/backends/db.py   django-profiling(Download)
    def _check_profile_created(self, response):
        session = Session.on_site.get(path=response.request['PATH_INFO'], active=True)
        qs = Profile.objects.filter(session=session)
        self.assertEqual(qs.count(), 1)
        qs.delete()