summaryrefslogtreecommitdiff
path: root/effiapi
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-03-09 09:54:33 +0200
committerLars Wirzenius <liw@liw.fi>2019-03-09 09:54:33 +0200
commitec4029449097940fb9b2eaf3a45e32883a110bbb (patch)
tree9962a28d6b1ea6bd0791c40c371cb98a2e601e32 /effiapi
parentb87fb6280e9ba532b53c794ba247f8633ef3b0be (diff)
downloadeffi-reg-ec4029449097940fb9b2eaf3a45e32883a110bbb.tar.gz
Add: log message when creating fake responses
Diffstat (limited to 'effiapi')
-rwxr-xr-xeffiapi3
1 files changed, 3 insertions, 0 deletions
diff --git a/effiapi b/effiapi
index ecb8bc9..725c348 100755
--- a/effiapi
+++ b/effiapi
@@ -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):