@@ -67,6 +67,8 @@ def create_assigned_lesson_for_user(user):
6767
6868
6969class ProgressTrackingViewSetStartSessionFreshTestCase (APITestCase ):
70+ databases = "__all__"
71+
7072 def setUp (self ):
7173 self .facility = FacilityFactory .create ()
7274 # provision device to pass the setup_wizard middleware check
@@ -464,6 +466,8 @@ def tearDown(self):
464466
465467
466468class ProgressTrackingViewSetStartSessionResumeTestCase (APITestCase ):
469+ databases = "__all__"
470+
467471 def setUp (self ):
468472 self .facility = FacilityFactory .create ()
469473 # provision device to pass the setup_wizard middleware check
@@ -553,6 +557,8 @@ def tearDown(self):
553557
554558
555559class ProgressTrackingViewSetStartSessionAssessmentResumeTestCase (APITestCase ):
560+ databases = "__all__"
561+
556562 def setUp (self ):
557563 self .facility = FacilityFactory .create ()
558564 # provision device to pass the setup_wizard middleware check
@@ -945,6 +951,8 @@ def tearDown(self):
945951
946952
947953class ProgressTrackingViewSetStartSessionCoachQuizResumeTestCase (APITestCase ):
954+ databases = "__all__"
955+
948956 def setUp (self ):
949957 self .facility = FacilityFactory .create ()
950958 # provision device to pass the setup_wizard middleware check
@@ -1250,6 +1258,8 @@ def test_wrong_user_session_404(self):
12501258class ProgressTrackingViewSetLoggedInUpdateSessionTestCase (
12511259 UpdateSessionBase , APITestCase
12521260):
1261+ databases = "__all__"
1262+
12531263 def setUp (self ):
12541264 self .facility = FacilityFactory .create ()
12551265 # provision device to pass the setup_wizard middleware check
@@ -2101,6 +2111,8 @@ def setUp(self):
21012111class ProgressTrackingViewSetLoggedInUpdateSessionAssessmentTestCase (
21022112 ProgressTrackingViewSetUpdateSessionAssessmentBase , APITestCase
21032113):
2114+ databases = "__all__"
2115+
21042116 def setUp (self ):
21052117 self .facility = FacilityFactory .create ()
21062118 # provision device to pass the setup_wizard middleware check
@@ -2292,6 +2304,8 @@ def tearDown(self):
22922304class ProgressTrackingViewSetLoggedInUpdateSessionCoachQuizTestCase (
22932305 ProgressTrackingViewSetUpdateSessionAssessmentBase , APITestCase
22942306):
2307+ databases = "__all__"
2308+
22952309 def setUp (self ):
22962310 self .facility = FacilityFactory .create ()
22972311 # provision device to pass the setup_wizard middleware check
@@ -2558,6 +2572,8 @@ def tearDown(self):
25582572class ProgressTrackingViewSetLoggedInUpdateSessionAssessmentPracticeQuizTestCase (
25592573 ProgressTrackingViewSetUpdateSessionAssessmentBase , APITestCase
25602574):
2575+ databases = "__all__"
2576+
25612577 def setUp (self ):
25622578 self .facility = FacilityFactory .create ()
25632579 # provision device to pass the setup_wizard middleware check
@@ -2893,6 +2909,8 @@ def tearDown(self):
28932909
28942910
28952911class CSRFProtectedLoggerTestCase (APITestCase ):
2912+ databases = "__all__"
2913+
28962914 def setUp (self ):
28972915 self .client_csrf = APIClient (enforce_csrf_checks = True )
28982916 self .facility = FacilityFactory .create ()
0 commit comments