Skip to content

Commit

Permalink
DynamoDB: Improve software test about decoding a list with empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 30, 2024
1 parent 2295b91 commit e00c1f1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/io/dynamodb/test_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@
}
]
},
"location": {
"M": {
"coordinates": {"L": [{"S": ""}]},
"meetingPoint": {"S": "At the end of the tunnel"},
"address": {"S": "Salzbergwerk Berchtesgaden"},
},
},
}


def test_dynamodb_copy_list_of_objects(caplog, cratedb, dynamodb, dynamodb_test_manager):
def test_dynamodb_copy(caplog, cratedb, dynamodb, dynamodb_test_manager):
"""
CLI test: Invoke `ctk load table` for DynamoDB.
"""
Expand Down Expand Up @@ -51,4 +58,9 @@ def test_dynamodb_copy_list_of_objects(caplog, cratedb, dynamodb, dynamodb_test_
"utm_source": "google",
}
],
"location": {
"coordinates": [""],
"meetingPoint": "At the end of the tunnel",
"address": "Salzbergwerk Berchtesgaden",
},
}

0 comments on commit e00c1f1

Please sign in to comment.