diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-03-09 09:54:33 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-03-09 09:54:33 +0200 |
commit | ec4029449097940fb9b2eaf3a45e32883a110bbb (patch) | |
tree | 9962a28d6b1ea6bd0791c40c371cb98a2e601e32 | |
parent | b87fb6280e9ba532b53c794ba247f8633ef3b0be (diff) | |
download | effi-reg-ec4029449097940fb9b2eaf3a45e32883a110bbb.tar.gz |
Add: log message when creating fake responses
-rwxr-xr-x | effiapi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ class FakeResponse: self.status_code = status_code self.headers = dict(headers) self.text = body + logging.debug( + 'FakeREsponse: status=%d headers=%r body=%r', + status_code, headers, body) @property def ok(self): |