diff options
Diffstat (limited to 'macaroonbakery/tests/common.py')
-rw-r--r-- | macaroonbakery/tests/common.py | 2 |
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 [] |