Skip to content

Commit 2fe8599

Browse files
positive
1 parent 83ee21a commit 2fe8599

File tree

5 files changed

+30
-55
lines changed

5 files changed

+30
-55
lines changed

pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[pytest]
22

3-
addopts = -vs -rf --alluredir=./reports/ -n auto --dist=loadfile
3+
addopts = -vs -rf --alluredir=./reports/
4+
#-n auto --dist=loadfile
45

56
log_file = logs/pytest.log
67
log_cli = true

test_data/hpv/i_negative.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
TEST_DESC_IGNORED,ORGANISATION_CODE,SCHOOL_URN,SCHOOL_NAME,NHS_NUMBER,PERSON_FORENAME,PERSON_SURNAME,PERSON_DOB,PERSON_GENDER_CODE,PERSON_POSTCODE,DATE_OF_VACCINATION,VACCINE_GIVEN,BATCH_NUMBER,BATCH_EXPIRY_DATE,ANATOMICAL_SITE,DOSE_SEQUENCE,VACCINATED,CARE_SETTING,PERFORMING_PROFESSIONAL_FORENAME,PERFORMING_PROFESSIONAL_SURNAME,PERFORMING_PROFESSIONAL_EMAIL,CLINIC_NAME,TIME_OF_VACCINATION,REASON_NOT_VACCINATED
2-
N_InvalidODSCode,MAVIS,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,Batch1,20301231,left thigh,1,Y,1,,,[email protected],Clinic,12:00,
2+
N_InvalidODSCode,MAVIS,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,AutoBatch1,20301231,left thigh,1,Y,1,,,[email protected],Clinic,12:00,
33
N_EmptyOrgCode,,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,Batch1,20301231,left thigh,1,Y,1,,,[email protected],Clinic,12:00,
44
N_EmptySchoolURN,R1L,,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,Batch1,20301231,left thigh,1,Y,1,,,[email protected],Clinic,12:00,
55
N_NotKnownSchoolEmpty,R1L,888888,,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,Batch1,20301231,left thigh,1,Y,1,,,[email protected],Clinic,12:00,

test_data/hpv/i_negative_old.csv

Lines changed: 0 additions & 36 deletions
This file was deleted.

test_data/hpv/i_positive.csv

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
TEST_DESC_IGNORED,ORGANISATION_CODE,SCHOOL_URN,SCHOOL_NAME,NHS_NUMBER,PERSON_FORENAME,PERSON_SURNAME,PERSON_DOB,PERSON_GENDER_CODE,PERSON_POSTCODE,DATE_OF_VACCINATION,VACCINE_GIVEN,BATCH_NUMBER,BATCH_EXPIRY_DATE,ANATOMICAL_SITE,DOSE_SEQUENCE,LOCAL_PATIENT_ID,LOCAL_PATIENT_ID_URI,CARE_SETTING,VACCINATED
2-
P_Gardasil9,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
3-
P_Gardasil,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100819,Male,DN38 6JP,20240514,Gardasil,123013325,20220730,Left Thigh,2,LocalPatient3,www.LocalPatient3,1,Y
4-
P_Cervarix,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100808,Male,N8 7RE,20240514,Cervarix,123013325,20220730,Left Thigh,3,LocalPatient3,www.LocalPatient3,1,Y
5-
P_Gardasil9,R1L,888888,Test-Auto School,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100818,Female,HD9 2DD,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
6-
P_Gardasil,R1L,999999,Homeschooled,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100813,Female,DN17 1UE,20240514,Gardasil,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
7-
P_Cervarix,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100817,Female,LA22 9SJ,20240514,Cervarix,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
8-
P_NFA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3VZ,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
9-
P_Add_Not_Known,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
10-
P_Site_LB,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN34 4SE,20240514,Gardasil9,123013325,20220730,Left Buttock,1,LocalPatient3,www.LocalPatient3,1,Y
11-
P_Site_RB,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100831,Male,TS8 9EF,20240514,Gardasil9,123013325,20220730,Right Buttock,1,LocalPatient3,www.LocalPatient3,1,Y
12-
P_Site_LT,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100829,Not Known,HU5 3SG,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
13-
P_Site_LUA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100821,Female,ZZ99 3AZ,20240514,Gardasil9,123013325,20220730,Left Upper Arm,1,LocalPatient3,www.LocalPatient3,1,Y
14-
P_Site_RUA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100830,Male,NE39 1AD,20240514,Gardasil9,123013325,20220730,Right Upper Arm,1,LocalPatient3,www.LocalPatient3,1,Y
15-
P_Site_RT,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100808,Male,SK16 4HT,20240514,Gardasil9,123013325,20220730,Right Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
16-
P_AllowPastExpiryDate,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100827,Female,BH23 8BY,20240514,Gardasil9,123013325,20120730,Left Thigh,1,www.LocalPatient3,www.LocalPatient3,1,Y
17-
P_NotVaccinated,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100827,Female,BH23 8BY,20240514,Gardasil9,123013325,20120730,Left Thigh,1,www.LocalPatient3,www.LocalPatient3,1,N
1+
TEST_DESC_IGNORED,ORGANISATION_CODE,SCHOOL_URN,SCHOOL_NAME,NHS_NUMBER,PERSON_FORENAME,PERSON_SURNAME,PERSON_DOB,PERSON_GENDER_CODE,PERSON_POSTCODE,DATE_OF_VACCINATION,VACCINE_GIVEN,BATCH_NUMBER,BATCH_EXPIRY_DATE,ANATOMICAL_SITE,DOSE_SEQUENCE,VACCINATED,CARE_SETTING,PERFORMING_PROFESSIONAL_FORENAME,PERFORMING_PROFESSIONAL_SURNAME,PERFORMING_PROFESSIONAL_EMAIL,CLINIC_NAME,TIME_OF_VACCINATION,REASON_NOT_VACCINATED
2+
P_Gardasil9,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil9,AutoBatch1,20301231,Left Thigh,1,Y,1,,,[email protected],Clinic,12:00,
3+
P_Gardasil,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Gardasil,AutoBatch1,20301231,Right Thigh,1,Y,1,,,[email protected],Clinic,12:00,
4+
P_Cervarix,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,<<VACCS_DATE>>,Cervarix,AutoBatch1,20301231,left upper arm,1,Y,1,,,[email protected],Clinic,12:00,
5+
P_NFA,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3VZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20301231,left arm (upper position),1,Y,1,,,[email protected],Clinic,12:00,
6+
P_Add_Not_Known,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20301231,left arm (lower position),1,Y,1,,,[email protected],Clinic,12:00,
7+
P_AllowPastExpiryDate,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20120730,right upper arm,1,Y,1,,,[email protected],Clinic,12:00,
8+
P_SiteRAU,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20320730,right arm (upper position),1,Y,1,,,[email protected],Clinic,12:00,
9+
P_SiteRAL,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20320730,right arm (lower position),1,Y,1,,,[email protected],Clinic,12:00,
10+
P_NotVaccinated,R1L,142181,Bohunt School Wokingham,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,<<VACCS_DATE>>,Cervarix9,AutoBatch1,20320730,right arm (upper position),1,N,1,,,[email protected],Clinic,12:00,Did not attend

test_data/hpv/i_positive_old.csv

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
TEST_DESC_IGNORED,ORGANISATION_CODE,SCHOOL_URN,SCHOOL_NAME,NHS_NUMBER,PERSON_FORENAME,PERSON_SURNAME,PERSON_DOB,PERSON_GENDER_CODE,PERSON_POSTCODE,DATE_OF_VACCINATION,VACCINE_GIVEN,BATCH_NUMBER,BATCH_EXPIRY_DATE,ANATOMICAL_SITE,DOSE_SEQUENCE,LOCAL_PATIENT_ID,LOCAL_PATIENT_ID_URI,CARE_SETTING,VACCINATED
2+
P_Gardasil9,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN9 1PB,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
3+
P_Gardasil,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100819,Male,DN38 6JP,20240514,Gardasil,123013325,20220730,Left Thigh,2,LocalPatient3,www.LocalPatient3,1,Y
4+
P_Cervarix,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100808,Male,N8 7RE,20240514,Cervarix,123013325,20220730,Left Thigh,3,LocalPatient3,www.LocalPatient3,1,Y
5+
P_Gardasil9,R1L,888888,Test-Auto School,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100818,Female,HD9 2DD,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
6+
P_Gardasil,R1L,999999,Homeschooled,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100813,Female,DN17 1UE,20240514,Gardasil,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
7+
P_Cervarix,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100817,Female,LA22 9SJ,20240514,Cervarix,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
8+
P_NFA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3VZ,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
9+
P_Add_Not_Known,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,ZZ99 3WZ,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
10+
P_Site_LB,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100811,Male,DN34 4SE,20240514,Gardasil9,123013325,20220730,Left Buttock,1,LocalPatient3,www.LocalPatient3,1,Y
11+
P_Site_RB,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100831,Male,TS8 9EF,20240514,Gardasil9,123013325,20220730,Right Buttock,1,LocalPatient3,www.LocalPatient3,1,Y
12+
P_Site_LT,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100829,Not Known,HU5 3SG,20240514,Gardasil9,123013325,20220730,Left Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
13+
P_Site_LUA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100821,Female,ZZ99 3AZ,20240514,Gardasil9,123013325,20220730,Left Upper Arm,1,LocalPatient3,www.LocalPatient3,1,Y
14+
P_Site_RUA,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100830,Male,NE39 1AD,20240514,Gardasil9,123013325,20220730,Right Upper Arm,1,LocalPatient3,www.LocalPatient3,1,Y
15+
P_Site_RT,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100808,Male,SK16 4HT,20240514,Gardasil9,123013325,20220730,Right Thigh,1,LocalPatient3,www.LocalPatient3,1,Y
16+
P_AllowPastExpiryDate,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100827,Female,BH23 8BY,20240514,Gardasil9,123013325,20120730,Left Thigh,1,www.LocalPatient3,www.LocalPatient3,1,Y
17+
P_NotVaccinated,R1L,110158,Eton College,<<NHS_NO>>,<<FNAME>>,<<LNAME>>,20100827,Female,BH23 8BY,20240514,Gardasil9,123013325,20120730,Left Thigh,1,www.LocalPatient3,www.LocalPatient3,1,N

0 commit comments

Comments
 (0)