コード例 #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()
コード例 #2
0
ファイル: test_api.py プロジェクト: indirectlylit/kolibri
 def setUp(self):
     clear_process_cache()
コード例 #3
0
 def tearDown(self):
     # Make sure we will leave an empty cache for other testcases.
     clear_url_caches()
     clear_process_cache()
コード例 #4
0
 def setUp(self):
     clear_process_cache()
     create_dummy_facility_data(classroom_count=1)
コード例 #5
0
 def setUp(self):
     # Make sure the cache is empty before we are doing our tests.
     clear_url_caches()
     clear_process_cache()