Add zookeeper tag in setup.cfg
Add zookeeper tag in setup.cfg to enable loading the Zookeeper driver. Change-Id: Ia5c1bbd75a93c3ebb86ac8ece88ebc69e006440c
This commit is contained in:
parent
3dafd4e82a
commit
9d8b146d71
@ -33,6 +33,7 @@ tooz.backends =
|
||||
postgresql = tooz.drivers.pgsql:PostgresDriver
|
||||
mysql = tooz.drivers.mysql:MySQLDriver
|
||||
file = tooz.drivers.file:FileDriver
|
||||
zookeeper = tooz.drivers.zookeeper:KazooDriver
|
||||
|
||||
[build_sphinx]
|
||||
all_files = 1
|
||||
|
@ -55,6 +55,8 @@ class TestAPI(testscenarios.TestWithScenarios,
|
||||
'bad_url': 'postgresql://localhost:1'}),
|
||||
('mysql', {'url': os.getenv("TOOZ_TEST_MYSQL_URL"),
|
||||
'bad_url': 'mysql://localhost:1'}),
|
||||
('zookeeper', {'url': os.getenv("TOOZ_TEST_ZOOKEEPER_URL"),
|
||||
'bad_url': 'zookeeper://localhost:1'}),
|
||||
]
|
||||
|
||||
def assertRaisesAny(self, exc_classes, callable_obj, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user