tooz/tooz/tests
Gorka Eguileor d01b7d7018 Accept blocking argument in lock's context manager
This patch adds the posibility of passing the blocking argument to the
context manager to be used when acquiring the lock.

Previous behavior will be preserved, so now we will be able to use the
context manager in any of the following ways:

    with lock(10.0):
    with lock(False):
    with lock():
    with lock:

The last 2 are equivalent.

Change-Id: I6d2f486ac45078ec4ce77de52b7997f2122d4dc8
2015-08-11 17:21:12 +02:00
..
drivers Upgrade to hacking 0.10 2015-01-13 16:11:53 +01:00
__init__.py Switch to a custom NotImplemented error 2014-09-12 11:20:17 +02:00
test_coordination.py Accept blocking argument in lock's context manager 2015-08-11 17:21:12 +02:00
test_memcache.py Ensure run_watchers called from mixin, not base class 2015-07-01 17:09:23 -07:00
test_mysql.py fix mysql driver url parsing 2015-03-16 06:16:27 -07:00
test_postgresql.py Translate psycopg2 errors/exceptions into tooz exceptions 2014-11-18 11:11:28 +01:00
test_utils.py Be more restrictive on the executors users can provide 2015-07-27 14:50:05 -07:00