Skip to content
Snippets Groups Projects

Resolve "Make exam a many to many field on StudentInfo model"

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -103,7 +103,8 @@ class ExportTestModal(GradyTestCase):
try:
with open(JSON_EXPORT_FILE) as f:
data = json.load(f)
self.assertEqual('B.Inf.4242 Test Module', data[0]['Exams'][0]['exam']['moduleReference'])
self.assertEqual('B.Inf.4242 Test Module',
data[0]['Exams'][0]['exam']['moduleReference'])
except Exception as e:
print(data)
raise e
@@ -112,7 +113,6 @@ class ExportTestModal(GradyTestCase):
def test_export_instance(self):
fact.SubmissionFactory()
#fact.ExamInfoFactory()
self._login()
self.browser.find_element_by_id('export-btn').click()
self.browser.find_element_by_id('export-list1').click()
Loading