Permalink
Browse files

Test for changed gets() return value

Refs #87
  • Loading branch information...
1 parent dbb6ca2 commit 5cfc5e1a7d2eabdfe9b725f8acb3f2102577bd98 Pawel Kowalak committed Apr 18, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/doctests.txt
View
@@ -261,3 +261,9 @@ Test server/client max length
Traceback (most recent call last):
...
ValueError: key too long, max is 250
+
+Gets should return (None, None) for non-existing keys
+>>> c = make_test_client(_pylibmc.client, binary=True)
+>>> c.set_behaviors({'cas': True})
+>>> c.gets('non_existing_key')
+(None, None)

0 comments on commit 5cfc5e1

Please sign in to comment.