15 Commits

Author SHA1 Message Date
lericson
43729b93a8 Raise exception when no servers are given. 2009-11-18 20:25:03 +01:00
lericson
1c83ad0de2 Add specialized exception classes.
Useful when you need to catch certain errors like when a key isn't found
during an increment/decrement operation.
2009-11-05 19:09:09 +01:00
lericson
343286a34b Fix empty memcached value exception bug.
pylibmc would produce non-error exceptions because the memcached value
pointer would be NULL, while the return code would be zero.
2009-10-31 11:22:18 +01:00
lericson
0984a270db Added get_stats function.
Thanks to M0shTH8 for inspiration.
2009-10-19 14:09:08 +02:00
lericson
213e503ba5 Move cmemcache tests to main test module.
This also adds support for unittests, yay.
2009-09-22 00:16:59 +02:00
lericson
db1aff8129 Add tests for using the binary protocol. 2009-09-21 17:20:53 +02:00
lericson
279544a468 Report pylibmc version in tester. 2009-09-21 16:47:57 +02:00
lericson
eb2ac8744c Increase timeout for timed test a little.
This test could fail on some very slow machines (my server), where
rerunning it would be fine. Hope this brings some predictability to the
test in question.
2009-09-21 15:49:06 +02:00
lericson
bc40569572 Add memcached_clone support. 2009-09-19 22:45:42 +02:00
lericson
e8817b6617 Set version in one file and one file alone. 2009-09-19 21:42:37 +02:00
lericson
2af5ca0e40 Include main tests in doctests, testing behaviors better. 2009-09-18 11:26:41 +02:00
lericson
732f181cb7 Add tests for pickling. 2009-09-08 21:43:56 +02:00
lericson
573dee9d52 Test booleans better and improve test runner. 2009-09-07 20:57:12 +02:00
lericson
fc04c61b27 Add status output to test script. 2009-07-31 21:55:30 +02:00
lericson
4e68248105 Initial import into git! 2009-07-27 16:10:43 +02:00