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

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

src/s/h/shareabouts-api-HEAD/src/sa_api_v2/tests/test_views.py   shareabouts-api(Download)
        self.view = PlaceInstanceView.as_view()
 
        cache_buffer.reset()
        django_cache.clear()
 
        ApiKey.objects.all().delete()
 
        cache_buffer.reset()
        django_cache.clear()
 
    def setUp(self):
        cache_buffer.reset()
        django_cache.clear()
 
        self.owner = User.objects.create_user(username='aaron', password='123', email='abc@example.com')
        ApiKey.objects.all().delete()
 
        cache_buffer.reset()
        django_cache.clear()
 
        self.view = SubmissionInstanceView.as_view()
 
        cache_buffer.reset()
        django_cache.clear()