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()
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()
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()