Fix exception collection typo

This commit is contained in:
messense 2017-02-23 10:39:14 +08:00
parent 91b2b40b9a
commit fedd7920a8
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9

View File

@ -45,7 +45,7 @@ class TestClient:
**request_kwargs) **request_kwargs)
results[-1] = response results[-1] = response
except Exception as e: except Exception as e:
exceptions.self.append(e) exceptions.append(e)
self.app.stop() self.app.stop()
self.app.run(host=HOST, debug=debug, port=PORT, **server_kwargs) self.app.run(host=HOST, debug=debug, port=PORT, **server_kwargs)