This commit is contained in:
Joseph Schorr 2015-01-04 14:38:41 -05:00
parent 77278f0391
commit 1bf25f25c1
14 changed files with 942 additions and 336 deletions

View file

@ -70,6 +70,11 @@ read_slave = Proxy()
db_random_func = CallableProxy()
def validate_database_url(url):
driver = _db_from_url(url, {})
driver.connect()
driver.close()
def _db_from_url(url, db_kwargs):
parsed_url = make_url(url)