added override settings for test (#24777)

This commit is contained in:
alangsto
2020-08-13 15:46:54 -04:00
committed by GitHub
parent da9a248247
commit 458b8b14ce

View File

@@ -275,6 +275,12 @@ class ProctoringExamSettingsPostTests(ProctoringExamSettingsTestMixin, ModuleSto
response = self.make_request(data=data)
assert response.status_code == status.HTTP_403_FORBIDDEN
@override_settings(
PROCTORING_BACKENDS={
'DEFAULT': 'null',
'proctortrack': {}
},
)
def test_200_for_instructor_request(self):
self.client.login(username=self.course_instructor, password=self.password)
data = {