Skip to content

Commit

Permalink
Fixed tests to run in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 7, 2024
1 parent 9da9ed4 commit 8da2712
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
3 changes: 2 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def teardown():
return helper

# Fixture for site parameter
@pytest.fixture(params=["NEELIMA HOUSE", "FRAZER HOUSE", "PAUL TOWERS"])
@pytest.fixture(params=["NEELIMA HOUSE", "ALBERT HOUSE", "ST JOHN'S HOUSE"])
def site(request):
return request.param

Expand Down Expand Up @@ -359,6 +359,7 @@ def enter_vaccine_details_and_click_continue_to_check_and_confirm(vaccinate_deci
select_vaccination_route(vaccination_route)
batch_number_to_select = batch_number.upper() + " - " + batch_expiry_date
select_batch_number(batch_number_to_select)
time.sleep(3)
enter_dose_amount_value(dose_amount)
click_prescribing_method(prescribing_method)
if click_continue_to_check_and_confirm_screen_button() == True:
Expand Down
24 changes: 12 additions & 12 deletions features/record_a_vaccine_for_patient_with_nhs_number.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ Scenario Outline: Record a vaccine with nhs number
Examples:
| index | nhs_number | site | care_model | eligibility | assess_date | consent | vaccination | vaccination_date | name | dob | address | chosen_vaccine | vaccine_type | batch_number | batch_expiry_date |
| 0 | 9693632109 | NEELIMA HOUSE | Vaccination Centre | yes | today | yes | yes | today | Bill GARTON | 23/6/1946 | 1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW | COVID-19 | Comirnaty Original/Omicron BA.4-5 | SDYY2-12 | 19/10/2025 |
| 1 | 9693632109 | NEELIMA HOUSE | Vaccination Centre | yes | today | yes | yes | today-1 | Bill GARTON | 23/6/1946 | 1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW | COVID-19 | Comirnaty Original/Omicron BA.4-5 | SDYY2-12B | 19/10/2025 |
| 1 | 9693632109 | NEELIMA HOUSE | Vaccination Centre | yes | today-1 | yes | yes | today-1 | Bill GARTON | 23/6/1946 | 1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW | COVID-19 | Comirnaty Original/Omicron BA.4-5 | SDYY2-12B | 19/10/2025 |
| 2 | 9470040228 | NEELIMA HOUSE | Hospital Hub | yes | today-1 | yes | yes | today | HERBERT HAAG | 14/12/1922 | 10 COASTAL ROAD, HEST BANK, LANCASTER, LA2 6HN | COVID-19 | Comirnaty 30 Omicron XBB.1.5 | SB12345-12A | 19/2/2026 |
| 3 | 9470057589 | NEELIMA HOUSE | Care Home | yes | today-2 | yes | yes | today-1 | ROGER SEABORNE | 13/12/1922 | 10 ANN STREET, DALTON-IN-FURNESS, CUMBRIA, LA15 8BG | COVID-19 | Comirnaty 3 Omicron XBB.1.5 | SDYY2-13A | 19/10/2026 |
| 4 | 9472710255 | NEELIMA HOUSE | Home Of Housebound Patient | yes | today-3 | yes | yes | today-2 | DELICE PINKER | 10/11/1926 | HARDCRAGG HOUSE, HARDCRAGG WAY, GRANGE-OVER-SANDS, CUMBRIA, LA11 6BH | COVID-19 | Comirnaty 10 Omicron XBB.1.5 | SDYY2-14A | 19/10/2026 |
| 5 | 9473629885 | NEELIMA HOUSE | Off-site Outreach Event | yes | today-4 | yes | yes | today-3 | MARGIE PUCKEY | 27/5/1924 | MANSART COURT, 10 OLIVE SHAPLEY AVENUE, MANCHESTER, M20 6QB | COVID-19 | Spikevax XBB.1.5 | SDYY2-15A | 19/10/2026 |
| 6 | 9437540233 | NEELIMA HOUSE | Vaccination Centre | yes | today -5 | yes | yes | today-2 | RANDY FOGDEN | 8/6/1961 | 10 ASHVILLE TERRACE, MANCHESTER, M40 9WG | COVID-19 | Spikevax XBB.1.5 | SDYY2-16A | 19/10/2026 |
| 6 | 9437540233 | NEELIMA HOUSE | Vaccination Centre | yes | today-5 | yes | yes | today-2 | RANDY FOGDEN | 8/6/1961 | 10 ASHVILLE TERRACE, MANCHESTER, M40 9WG | COVID-19 | Spikevax XBB.1.5 | SDYY2-16A | 19/10/2026 |
| 7 | 9474374228 | NEELIMA HOUSE | Hospital Hub | yes | today-6 | yes | yes | today-3 | ORINDA JUDD | 20/7/1963 | 2 RECTORY PADDOCK, HALTON, LANCASTER, LA2 6LL | COVID-19 | Spikevax XBB.1.5 | SDYY2-17A | 19/10/2026 |
| 8 | 9437580812 | NEELIMA HOUSE | Care Home | yes | today-7 | yes | yes | today-7 | INDIGO CATCHESIDE | 1/3/1959 | 12 CANBERRA STREET, MANCHESTER, M11 4WL | COVID-19 | Comirnaty Original/Omicron BA.4-5 | SDYY2-18A | 19/10/2026 |
| 9 | 9437599165 | NEELIMA HOUSE | Home Of Housebound Patient | yes | today-30 | yes | yes | today-30 | CAWRDAV BOBBETT | 21/7/1959 | 127 ALINORA CRESCENT, GORING-BY-SEA, WORTHING, W SUSSEX, BN12 4HN | COVID-19 | Comirnaty 30 Omicron XBB.1.5 | SDYY2-18B | 19/10/2026 |
| 10 | 9474335052 | NEELIMA HOUSE | Off-site Outreach Event | yes | today | yes | yes | today | AMERY PIGGOTT | 20/4/1968 | 10 CONNAUGHT ROAD, LANCASTER, LA1 4BQ | COVID-19 | Comirnaty 3 Omicron XBB.1.5 | SDYY2-18C | 19/10/2026 |
| 11 | 9437541817 | ALBERT HOUSE | Vaccination Centre | yes | today | yes | yes | today | FLORINDA DUNNER | 27/3/1957 | 32 HOLLAND ROAD, MANCHESTER, M8 4NP | COVID-19 | Comirnaty 10 Omicron XBB.1.5 | SDYY2-18D | 19/10/2026 |
| 12 | 9437540233 | ALBERT HOUSE | Hospital Hub | yes | today | yes | yes | today | RANDY FOGDEN | 8/6/1961 | 10 ASHVILLE TERRACE, MANCHESTER, M40 9WG | COVID-19 | Spikevax XBB.1.5 | SDYY2-18E | 19/10/2026 |
| 8 | 9474376638 | ALBERT HOUSE | Care Home | yes | today | yes | yes | today | PHYLLIDA ZYLKO | 6/2/1968 | BELL FARM BUNGALOW, CATON GREEN, BROOKHOUSE, LANCASTER, LA2 9JG | Flu | Fluenz Tetra - LAIV | SDYY2-18F | 19/10/2026 |
| 10 | 9474335052 | NEELIMA HOUSE | Off-site Outreach Event | yes | today-2 | yes | yes | today-2 | AMERY PIGGOTT | 20/4/1968 | 10 CONNAUGHT ROAD, LANCASTER, LA1 4BQ | COVID-19 | Comirnaty 3 Omicron XBB.1.5 | SDYY2-18C | 19/10/2026 |
| 11 | 9437541817 | ALBERT HOUSE | Vaccination Centre | yes | today-3 | yes | yes | today-1 | FLORINDA DUNNER | 27/3/1957 | 32 HOLLAND ROAD, MANCHESTER, M8 4NP | COVID-19 | Comirnaty 10 Omicron XBB.1.5 | SDYY2-18D | 19/10/2026 |
| 12 | 9437540233 | ALBERT HOUSE | Hospital Hub | yes | today-15 | yes | yes | today-7 | RANDY FOGDEN | 8/6/1961 | 10 ASHVILLE TERRACE, MANCHESTER, M40 9WG | COVID-19 | Spikevax XBB.1.5 | SDYY2-18E | 19/10/2026 |
| 8 | 9474376638 | ALBERT HOUSE | Care Home | yes | today-32 | yes | yes | today-30 | PHYLLIDA ZYLKO | 6/2/1968 | BELL FARM BUNGALOW, CATON GREEN, BROOKHOUSE, LANCASTER, LA2 9JG | Flu | Fluenz Tetra - LAIV | SDYY2-18F | 19/10/2026 |
| 9 | 9474405174 | ALBERT HOUSE | Home Of Housebound Patient | yes | today | yes | yes | today | PHINEAS FAYLE | 4/9/1965 | 2 DIXON TERRACE, NETHER KELLET, CARNFORTH, LANCS, LA6 1EX | Flu | Fluenz Tetra - LAIV | SDYY2-19A | 19/10/2026 |
| 10 | 9474405174 | ALBERT HOUSE | Off-site Outreach Event | yes | today | yes | yes | today| PHINEAS FAYLE | 4/9/1965 | 2 DIXON TERRACE, NETHER KELLET, CARNFORTH, LANCS, LA6 1EX | Flu | Quadrivalent Influenza vaccine - QIVe | SDYY2-14B | 19/10/2026 |
| 11 | 9450134391 | ALBERT HOUSE | Vaccination Centre | yes | today | yes | yes | today | MARIAN PIESSE | 17/7/1994 | 2 BIRCH STREET, LYTHAM ST. ANNES, LANCS, FY8 5DT | Flu | Quadrivalent Influvac sub - unit Tetra - QIVe | SDYY2-14C | 19/10/2026 |
| 12 | 9450140960 | ALBERT HOUSE | Hospital Hub | yes | today | yes | yes | today | DEANA GAMBLES | 5/9/1993 | 10 GRASMERE ROAD, LYTHAM ST. ANNES, LANCS, FY8 2HZ | Flu | Flucelvax Tetra - QIVc | SDYY2-20A | 19/10/2026 |
| 1 | 9450141444 | ALBERT HOUSE | Care Home | yes | today | yes | yes | today | BRANDIE DYBLE | 25/8/1992 | 49 BLACKPOOL ROAD NORTH, LYTHAM ST. ANNES, LANCS, FY8 3DF | Flu | Supemtek - QIVr | SDYY2-21A | 19/10/2026 |
| 2 | 9450141711 | ALBERT HOUSE | Home Of Housebound Patient | yes | today | yes | yes | today | KRISTIA SIDAWAY | 24/6/1992 | 41 BALTIMORE ROAD, LYTHAM ST. ANNES, LANCS, FY8 3NY | Flu | Fluad Tetra - aQIV | SDYY2-22A | 19/10/2026 |
| 3 | 9450144699 | ALBERT HOUSE | Off-site Outreach Event | yes | today | yes | yes | today-1 | HOPE TULLY | 10/1/1993 | 2 CHAPEL CLOSE, WESHAM, PRESTON, PR4 3HB | Flu | Cell-based Quadrivalent - QIVc | SDYY2-23A | 19/10/2026 |
| 10 | 9474405174 | ALBERT HOUSE | Off-site Outreach Event | yes | today-2 | yes | yes | today| PHINEAS FAYLE | 4/9/1965 | 2 DIXON TERRACE, NETHER KELLET, CARNFORTH, LANCS, LA6 1EX | Flu | Quadrivalent Influenza vaccine - QIVe | SDYY2-14B | 19/10/2026 |
| 11 | 9450134391 | ALBERT HOUSE | Vaccination Centre | yes | today-3 | yes | yes | today | MARIAN PIESSE | 17/7/1994 | 2 BIRCH STREET, LYTHAM ST. ANNES, LANCS, FY8 5DT | Flu | Quadrivalent Influvac sub - unit Tetra - QIVe | SDYY2-14C | 19/10/2026 |
| 12 | 9450140960 | ALBERT HOUSE | Hospital Hub | yes | today-1 | yes | yes | today | DEANA GAMBLES | 5/9/1993 | 10 GRASMERE ROAD, LYTHAM ST. ANNES, LANCS, FY8 2HZ | Flu | Flucelvax Tetra - QIVc | SDYY2-20A | 19/10/2026 |
| 1 | 9450141444 | ALBERT HOUSE | Care Home | yes | today-4 | yes | yes | today-2 | BRANDIE DYBLE | 25/8/1992 | 49 BLACKPOOL ROAD NORTH, LYTHAM ST. ANNES, LANCS, FY8 3DF | Flu | Supemtek - QIVr | SDYY2-21A | 19/10/2026 |
| 2 | 9450141711 | ALBERT HOUSE | Home Of Housebound Patient | yes | today-2 | yes | yes | today-1 | KRISTIA SIDAWAY | 24/6/1992 | 41 BALTIMORE ROAD, LYTHAM ST. ANNES, LANCS, FY8 3NY | Flu | Fluad Tetra - aQIV | SDYY2-22A | 19/10/2026 |
| 3 | 9450144699 | ALBERT HOUSE | Off-site Outreach Event | yes | today-1 | yes | yes | today-1 | HOPE TULLY | 10/1/1993 | 2 CHAPEL CLOSE, WESHAM, PRESTON, PR4 3HB | Flu | Cell-based Quadrivalent - QIVc | SDYY2-23A | 19/10/2026 |
| 4 | 9437541817 | NEELIMA HOUSE | Off-site Outreach Event |yes | today | yes | yes | today | FLORINDA DUNNER | 27/3/1957 | 32 HOLLAND ROAD, MANCHESTER, M8 4NP | Flu | Adjuvanted Quadrivalent - aQIV | SDYY2-24A | 19/10/2026 |
2 changes: 0 additions & 2 deletions test_data/models/assessing_clinicians.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
assessing_clinicians = [
"Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005",
"Neelima Guntupalli - GPhC (General Pharmaceutical Council), 8008",
"Paul Parker - GMC (General Medical Council), GMC007",
"Scott Howells - HCPC (Health and Care Professions Council), FREEDOM"
]
1 change: 0 additions & 1 deletion test_data/models/consenting_clinicians.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
consenting_clinicians = [
"Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005",
"Neelima Guntupalli - GPhC (General Pharmaceutical Council), 8008",
"Paul Parker - GMC (General Medical Council), GMC007"
]
2 changes: 0 additions & 2 deletions test_data/models/vaccinating_clinicians.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
vaccinating_clinicians = [
"Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005",
"Neelima Guntupalli - GPhC (General Pharmaceutical Council), 8008",
"Paul Parker - GMC (General Medical Council), GMC007",
"Scott Howells - HCPC (Health and Care Professions Council), FREEDOM"
]

0 comments on commit 8da2712

Please sign in to comment.