Skip to content

Commit 4ff8316

Browse files
authored
Merge pull request #137 from NHSDigital/MESH-2341-fix-test-fixture
MESH-2341 fix test fixture
2 parents cca3ca7 + 69dd1bd commit 4ff8316

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nhs_aws_helpers/fixtures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def clone_schema(table, on_demand_billing_mode: bool = True, provisioned_capacit
144144
del index["IndexSizeBytes"]
145145
del index["ItemCount"]
146146
del index["IndexArn"]
147-
del index["ProvisionedThroughput"]
147+
if "ProvisionedThroughput" in index:
148+
del index["ProvisionedThroughput"]
148149

149150
clone = {
150151
"KeySchema": key_schema,

0 commit comments

Comments
 (0)