Remove the configure call in UseThenDisconnect
This hopefully avoids us creating secondary connections
This commit is contained in:
parent
c8cdd39d04
commit
50c144a7c4
1 changed files with 1 additions and 5 deletions
|
@ -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.
|
||||
|
|
Reference in a new issue