summaryrefslogtreecommitdiff
path: root/macaroonbakery/tests/common.py
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-10-15 10:58:26 +0100
committerColin Watson <cjwatson@debian.org>2018-10-15 10:58:56 +0100
commitf00e0b7d3ea974ffaa8bc284ad2b7df6fcb77eb2 (patch)
tree5acfe37d50981ef409c3a0753b8d048eaed53558 /macaroonbakery/tests/common.py
parent83e714c5f5f17a4db661ba942f8da617dccac9bb (diff)
parent619cb9d927e2d6955d0b6a97d4d4c5ea9548150a (diff)
Update upstream source from tag 'upstream/1.2.1'
Update to upstream version '1.2.1' with Debian dir ccd0e7fdc6e29a6c6f8c47c3e463ae6e6a3343c3
Diffstat (limited to 'macaroonbakery/tests/common.py')
-rw-r--r--macaroonbakery/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/macaroonbakery/tests/common.py b/macaroonbakery/tests/common.py
index 972b3ad..aacdaf3 100644
--- a/macaroonbakery/tests/common.py
+++ b/macaroonbakery/tests/common.py
@@ -80,7 +80,7 @@ class ThirdPartyStrcmpChecker(bakery.ThirdPartyCaveatChecker):
condition = cav_info.condition.decode('utf-8')
if condition != self.str:
raise bakery.ThirdPartyCaveatCheckFailed(
- '{} doesn\'t match {}'.format(condition, self.str))
+ '{} doesn\'t match {}'.format(repr(condition), repr(self.str)))
return []