diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py')
-rw-r--r-- | tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py b/tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py index ef8e59a6f82..b198b194b38 100644 --- a/tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py +++ b/tests/wpt/web-platform-tests/tools/webdriver/webdriver/transport.py @@ -19,6 +19,7 @@ class Response(object): self.body = body def __repr__(self): + cls_name = self.__class__.__name__ if self.error: return "<%s status=%s error=%s>" % (cls_name, self.status, repr(self.error)) return "<% status=%s body=%s>" % (cls_name, self.status, json.dumps(self.body)) |