Merge pull request #2825 from coreos-inc/remove-db-config

Remove the configure call in UseThenDisconnect
This commit is contained in:
josephschorr 2017-07-26 14:16:35 -04:00 committed by GitHub
commit cc79a2a3db

View file

@ -186,11 +186,7 @@ class UseThenDisconnect(object):
self.config_object = config_object
def __enter__(self):
# TODO(jschorr): Remove this stupid hack.
if self.config_object.get('TESTING') is True:
return
configure(self.config_object)
pass
def __exit__(self, typ, value, traceback):
# TODO(jschorr): Remove this stupid hack.