aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/tutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/tutils.py')
-rw-r--r--netlib/tutils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/netlib/tutils.py b/netlib/tutils.py
index 746e1488..4903d63b 100644
--- a/netlib/tutils.py
+++ b/netlib/tutils.py
@@ -123,7 +123,9 @@ def tresp(**kwargs):
status_code=200,
msg=b"OK",
headers=Headers(header_response=b"svalue"),
- body=b"message"
+ body=b"message",
+ timestamp_start=time.time(),
+ timestamp_end=time.time(),
)
default.update(kwargs)
return Response(**default)