Skip to content

Commit

Permalink
#4, #5: Added more tests. Fixed #6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bystroushaak committed Oct 20, 2015
1 parent 2b8a0d2 commit ccded72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_db_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ def test_storing_and_retreiving():
assert first_wrapper["something"] == "hello"

assert second_wrapper["something"] == "hello"


def test_storing(zeo_wrapper):
with transaction.manager:
zeo_wrapper["something"] = "hello"


def test_retreiving(zeo_wrapper):
with transaction.manager:
assert zeo_wrapper["something"] == "hello"

0 comments on commit ccded72

Please sign in to comment.