Skip to content

test(lab): ✅ update max pcr tests #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/test_lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import datetime
from nose.plugins.attrib import attr

TESTS_PCR_MAX = 25000


class CepimoseTestCase(unittest.TestCase):
def setUp(self):
Expand Down Expand Up @@ -32,7 +34,7 @@ def test_lab_end_timestamp(self):
def test_lab_PCR_tests_performed(self):
performed_PCR = cepimose.lab_PCR_tests_performed()
self.assertGreaterEqual(performed_PCR, 0)
self.assertLessEqual(performed_PCR, 15000)
self.assertLessEqual(performed_PCR, TESTS_PCR_MAX)

def test_lab_PCR_total_tests_performed(self):
performed_PCR_total = cepimose.lab_PCR_total_tests_performed()
Expand Down Expand Up @@ -73,7 +75,7 @@ def test_lab_HAT_total_tests_performed(self):
def test_lab_cases_confirmed(self):
cases_confirmed = cepimose.lab_cases_confirmed()
self.assertGreaterEqual(cases_confirmed, 0)
self.assertLessEqual(cases_confirmed, 10000)
self.assertLessEqual(cases_confirmed, TESTS_PCR_MAX)

def test_lab_confirmed_total_female(self):
female_total = cepimose.lab_confirmed_total_female()
Expand Down