Ejemplo n.º 1
0
    def setUp(self):
        clear_process_cache()

        facility_data = create_dummy_facility_data(classroom_count=1)
        self.admin = facility_data["facility_admin"]
        self.admin.set_password("password")
        self.admin.save()
        self.coach = facility_data["classroom_coaches"][0]
        self.coach.set_password("password")
        self.coach.save()
Ejemplo n.º 2
0
 def setUp(self):
     clear_process_cache()
 def tearDown(self):
     # Make sure we will leave an empty cache for other testcases.
     clear_url_caches()
     clear_process_cache()
Ejemplo n.º 4
0
 def setUp(self):
     clear_process_cache()
     create_dummy_facility_data(classroom_count=1)
 def setUp(self):
     # Make sure the cache is empty before we are doing our tests.
     clear_url_caches()
     clear_process_cache()