alter testcase to trigger issue #2868

This commit is contained in:
jess 2020-04-06 18:41:46 +10:00
parent 09de93412e
commit b6e73776d5

View File

@ -121,12 +121,14 @@ class TestCore:
assert "Records" in resp
assert len(resp["Records"]) == 0
def test_get_records_seq(self):
conn = boto3.client("dynamodb", region_name="us-east-1")
conn.put_item(
TableName="test-streams",
Item={"id": {"S": "entry1"}, "first_col": {"S": "foo"}},
Item={"id": {"S": "entry1"}, "first_col": {"S": "foo"}}
)
conn.put_item(
TableName="test-streams",
@ -134,6 +136,7 @@ class TestCore:
"id": {"S": "entry1"},
"first_col": {"S": "bar"},
"second_col": {"S": "baz"},
"a": {"L": [{"M": {"b": {"S": "bar1"}}}]}
},
)
conn.delete_item(TableName="test-streams", Key={"id": {"S": "entry1"}})