Skip to content

Commit

Permalink
DIV-8204 | Fix service names in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
egov-joy committed Feb 25, 2022
1 parent 4c9dc8e commit 41a553f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e2e/test_certify_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import random
import etcd3

VACCINATION_API = "http://vaccination_api:8000" + "/divoc/api/v1/"
VACCINATION_API = "http://vaccination-api:8000" + "/divoc/api/v1/"
CERTIFY_REQUEST_BODY = "test_data/certify.json"
ICD_REQUEST_BODY = "test_data/icd.json"
VACCINE_ICD_REQUEST_BODY = "test_data/vaccine_icd.json"
Expand Down
12 changes: 6 additions & 6 deletions e2e/test_portal_uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,26 @@ def entity_upload_verify(entityType, uploadURL, fetchURL, uploadFile, expectedAd
def test_facility_upload():
entity_upload_verify(
"Facilities",
"http://portal_api:8001/divoc/admin/api/v1/facilities",
"http://portal_api:8001/divoc/admin/api/v1/facilities",
"http://portal-api:8001/divoc/admin/api/v1/facilities",
"http://portal-api:8001/divoc/admin/api/v1/facilities",
"test_data/facilities.csv",
5
)

def test_vaccinator_upload():
entity_upload_verify(
"Vaccinators",
"http://portal_api:8001/divoc/admin/api/v1/vaccinators",
"http://portal_api:8001/divoc/admin/api/v1/vaccinators",
"http://portal-api:8001/divoc/admin/api/v1/vaccinators",
"http://portal-api:8001/divoc/admin/api/v1/vaccinators",
"test_data/vaccinators.csv",
3
)

def test_enrollment_upload():
entity_upload_verify(
"Enrollments",
"http://portal_api:8001/divoc/admin/api/v1/enrollments",
"http://portal_api:8001/divoc/admin/api/v1/enrollments",
"http://portal-api:8001/divoc/admin/api/v1/enrollments",
"http://portal-api:8001/divoc/admin/api/v1/enrollments",
"test_data/enrollments.csv",
3,
finalFetchWaitTime=10,
Expand Down

0 comments on commit 41a553f

Please sign in to comment.