Skip to content

Commit b8ebea2

Browse files
authored
Test/im222 dynamodb upload updated (#187)
* from DATE_TOMORROW to DATE_DAY_+1 to be consistent * +.gitignore changes for e2e * +changes to features/environment.py * +generate DynamoDB data tests/e2e/data/generate_test_data.py
1 parent ba462a1 commit b8ebea2

File tree

7 files changed

+1683
-84
lines changed

7 files changed

+1683
-84
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ sandbox/specification/*
4646
/sandbox/specification/*
4747
/integration-test-results.xml
4848
/specification/tmp/*
49+
/tests/e2e/data/out*
50+
/tests/e2e/reports/*

poetry.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ moto = "^5.1.5"
6060
requests = "^2.31.0"
6161
jsonschema = "^4.24.0"
6262
behave = "^1.2.6"
63+
boto3 = "^1.38.42"
64+
python-dotenv = "^1.1.1"
6365

6466
[tool.poetry-plugin-lambda-build]
6567
docker-image = "public.ecr.aws/sam/build-python3.13:1.139-x86_64" # See https://gallery.ecr.aws/search?searchTerm=%22python%22&architecture=x86-64&popularRegistries=amazon&verified=verified&operatingSystems=Linux

tests/e2e/data/dynamoDB/AUTO_RSV_SB_004.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{
4040
"NHS_NUMBER": "5000000004",
4141
"ATTRIBUTE_TYPE": "RSV",
42-
"BOOKED_APPOINTMENT_DATE": "<<DATE_TOMORROW>>",
42+
"BOOKED_APPOINTMENT_DATE": "<<DATE_DAY_+1>>",
4343
"BOOKED_APPOINTMENT_PROVIDER": "NBS"
4444
}
4545
]

tests/e2e/data/dynamoDB/AUTO_RSV_SB_005.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{
4040
"NHS_NUMBER": "5000000005",
4141
"ATTRIBUTE_TYPE": "RSV",
42-
"BOOKED_APPOINTMENT_DATE": "<<DATE_TOMORROW>>",
42+
"BOOKED_APPOINTMENT_DATE": "<<DATE_DAY_+1>>",
4343
"BOOKED_APPOINTMENT_PROVIDER": "ACC"
4444
}
4545
]

0 commit comments

Comments
 (0)