diff options
author | Daniel Lindsley <daniel@toastdriven.com> | 2013-07-29 13:28:33 -0700 |
---|---|---|
committer | Daniel Lindsley <daniel@toastdriven.com> | 2013-07-29 16:43:02 -0700 |
commit | b111fcf264ffcbf41fa247176a584a0b2fe33e24 (patch) | |
tree | 7f93efa0bc065e07b939abadfe42fe0c88404a72 /tests/integration/dynamodb2/test_highlevel.py | |
parent | 244909d3225be0bb1c4b94a73fa2dc8c78ffdbe7 (diff) | |
download | boto-b111fcf264ffcbf41fa247176a584a0b2fe33e24.tar.gz |
Altering how state tracking of ``Item`` data works in DDBv2.
Diffstat (limited to 'tests/integration/dynamodb2/test_highlevel.py')
-rw-r--r-- | tests/integration/dynamodb2/test_highlevel.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/integration/dynamodb2/test_highlevel.py b/tests/integration/dynamodb2/test_highlevel.py index eed46efa..c2f0335e 100644 --- a/tests/integration/dynamodb2/test_highlevel.py +++ b/tests/integration/dynamodb2/test_highlevel.py @@ -146,7 +146,10 @@ class DynamoDBv2Test(unittest.TestCase): self.assertEqual(check_name_again['first_name'], 'Joan') # Reset it. - jane.mark_dirty() + jane['username'] = 'jane' + jane['first_name'] = 'Jane' + jane['last_name'] = 'Doe' + jane['friend_count'] = 3 self.assertTrue(jane.save(overwrite=True)) # Test the partial update behavior. @@ -176,7 +179,10 @@ class DynamoDBv2Test(unittest.TestCase): self.assertEqual(partial_jane['first_name'], 'Jacqueline') # Reset it. - jane.mark_dirty() + jane['username'] = 'jane' + jane['first_name'] = 'Jane' + jane['last_name'] = 'Doe' + jane['friend_count'] = 3 self.assertTrue(jane.save(overwrite=True)) # Test the eventually consistent query. |