Merge pull request #2825 from coreos-inc/remove-db-config
Remove the configure call in UseThenDisconnect
This commit is contained in:
commit
cc79a2a3db
1 changed files with 1 additions and 5 deletions
|
@ -186,11 +186,7 @@ class UseThenDisconnect(object):
|
||||||
self.config_object = config_object
|
self.config_object = config_object
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
# TODO(jschorr): Remove this stupid hack.
|
pass
|
||||||
if self.config_object.get('TESTING') is True:
|
|
||||||
return
|
|
||||||
|
|
||||||
configure(self.config_object)
|
|
||||||
|
|
||||||
def __exit__(self, typ, value, traceback):
|
def __exit__(self, typ, value, traceback):
|
||||||
# TODO(jschorr): Remove this stupid hack.
|
# TODO(jschorr): Remove this stupid hack.
|
||||||
|
|
Reference in a new issue