Skip to content

Commit

Permalink
Finish basic usage test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 23, 2024
1 parent 524d909 commit 06313c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/new_tests/test_mrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ def test_basic_usage(self, requires_server_mrt_support):
bins = {"a": 1}
key2 = ("test", "demo", 2)
self.as_connection.put(key, bins, policy)
self.as_connection.get(key2, policy)

self.as_connection.put(key2, bins, policy)
self.as_connection.commit(mrt)

# Did it work?
for key in [key, key2]:
_, _, bins = self.as_connection.get(key)
assert bins["a"] == 1

0 comments on commit 06313c7

Please sign in to comment.