Skip to content

Commit 3d6db66

Browse files
committed
exit()
1 parent 44a1350 commit 3d6db66

10 files changed

+15
-11
lines changed

e2e/test_authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class TestApplicationRestrictedAuthorization(ImmunizationBaseTest):
2323

2424
if env_internal_dev:
25-
sys.exit(0)
25+
sys.exit()
2626

2727
my_app: ApigeeApp
2828
my_imms_api: ImmunisationApi

e2e/test_create_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class TestCreateImmunization(ImmunizationBaseTest):
88

99
if env_internal_dev:
10-
sys.exit(0)
10+
sys.exit()
1111

1212
def test_create_imms(self):
1313
"""it should create a FHIR Immunization resource"""

e2e/test_delete_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestDeleteImmunization(ImmunizationBaseTest):
99

1010
if env_internal_dev:
11-
sys.exit(0)
11+
sys.exit()
1212

1313
def test_delete_imms(self):
1414
"""it should delete a FHIR Immunization resource"""

e2e/test_delta_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class TestDeltaImmunization(ImmunizationBaseTest):
1616

1717
if env_internal_dev:
18-
sys.exit(0)
18+
sys.exit()
1919

2020
CREATE_OPERATION = "CREATE"
2121
UPDATE_OPERATION = "UPDATE"

e2e/test_get_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class TestGetImmunization(ImmunizationBaseTest):
1313

1414
if env_internal_dev:
15-
sys.exit(0)
15+
sys.exit()
1616

1717
def test_get_imms(self):
1818
"""it should get a FHIR Immunization resource"""

e2e/test_proxy.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class TestProxyHealthcheck(unittest.TestCase):
1313

1414
if env_internal_dev:
15-
sys.exit(0)
15+
sys.exit()
1616

1717
proxy_url: str
1818
status_api_key: str
@@ -40,7 +40,7 @@ class TestMtls(unittest.TestCase):
4040
"""Our backend is secured using mTLS. This test makes sure you can't hit the backend directly"""
4141

4242
if env_internal_dev:
43-
sys.exit(0)
43+
sys.exit()
4444

4545
def test_mtls(self):
4646
"""backend should reject unauthorized connections"""
@@ -79,6 +79,10 @@ def get_backend_url() -> str:
7979
class TestProxyAuthorization(unittest.TestCase):
8080
"""Our apigee proxy has its own authorization.
8181
This class test different authorization access levels/roles authentication types that are supported"""
82+
83+
if env_internal_dev:
84+
sys.exit()
85+
8286
proxy_url: str
8387

8488
@classmethod

e2e/test_search_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TestSearchImmunization(ImmunizationBaseTest):
1717
# This is to make these tests stateless otherwise; we need to clean up the db after each test
1818

1919
if env_internal_dev:
20-
sys.exit(0)
20+
sys.exit()
2121

2222
def store_records(self, *resources):
2323
ids = []

e2e/test_sqs_dlq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class TestSQS(unittest.TestCase):
1313

1414
if env_internal_dev:
15-
sys.exit(0)
15+
sys.exit()
1616

1717
def setUp(self):
1818
# Get SQS queue url

e2e/test_update_immunization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class TestUpdateImmunization(ImmunizationBaseTest):
1111

1212
if env_internal_dev:
13-
sys.exit(0)
13+
sys.exit()
1414

1515
def test_update_imms(self):
1616
"""it should update a FHIR Immunization resource"""

e2e_batch/test_e2e_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class TestE2EBatch(unittest.TestCase):
2929

3030
if env_internal_dev:
31-
sys.exit(0)
31+
sys.exit()
3232

3333
if env_value != "ref":
3434

0 commit comments

Comments
 (0)