From b78805c188ac0370874373639ada40991a3e3b6b Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 16 Aug 2021 16:37:01 -0400 Subject: [PATCH] Added the IDs to the test assertions --- tests/test_sanity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_sanity.py b/tests/test_sanity.py index 227ac70..b6fcb3d 100644 --- a/tests/test_sanity.py +++ b/tests/test_sanity.py @@ -141,7 +141,9 @@ class Sanity_Check_Test(unittest.TestCase): irb_info = IRBInfo.query.filter(IRBInfo.SS_STUDY_ID == study.STUDYID).first() self.assertEqual(irb_info.UVA_STUDY_TRACKING, tracking_string) self.assertEqual(irb_info.IRBEVENT[0].EVENT, event) + self.assertEqual(irb_info.IRBEVENT[0].EVENT_ID, event_id) self.assertEqual(irb_info.IRB_STATUS[0].STATUS, status) + self.assertEqual(irb_info.IRB_STATUS[0].STATUS_ID, status_id) # Delete the study