mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-02-11 07:06:52 +00:00
Fixed test to accommodate second document added by code 39
This commit is contained in:
parent
242668b244
commit
aae975013b
@ -66,7 +66,8 @@ class Sanity_Check_Test(unittest.TestCase):
|
||||
assert added_study
|
||||
|
||||
num_docs_before = RequiredDocument.query.filter(Study.STUDYID == added_study.STUDYID).count()
|
||||
self.assertEqual(num_reqs, num_docs_before)
|
||||
# We get 1 extra document, because code 39 adds 2 documents
|
||||
self.assertEqual(num_reqs+1, num_docs_before)
|
||||
|
||||
return added_study
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user