Fix exception collection typo

This commit is contained in:
messense
2017-02-23 10:39:14 +08:00
parent 91b2b40b9a
commit fedd7920a8

View File

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