Skip to content

Commit

Permalink
Merge pull request #35 from data-engineering-collective/issue-28
Browse files Browse the repository at this point in the history
Ensure put returns key
  • Loading branch information
xhochy authored May 6, 2021
2 parents 1ecec4f + bd0969a commit de4804e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/basic_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def is_emulated_gcstore_test(store):

class BasicStore(object):
def test_store(self, store, key, value):
key = store.put(key, value)
assert isinstance(key, str)
new_key = store.put(key, value)
assert key == new_key

def test_unicode_store(self, store, key, unicode_value):
with pytest.raises(IOError):
Expand Down

0 comments on commit de4804e

Please sign in to comment.