Skip to content

Commit 4f8dc18

Browse files
author
Frederick Ross
committed
Rework test_binding.py.
Wasn't bad, but cleaned up now, some replication removed, and more granular tests so a failure won't result in much less data.
1 parent 87459e4 commit 4f8dc18

3 files changed

Lines changed: 267 additions & 254 deletions

File tree

‎splunklib/binding.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __mod__(self, fields):
141141
"""
142142
raise TypeError("Cannot interpolate into a UrlEncoded object.")
143143
def __repr__(self):
144-
return "UrlEncoded(%s)" % self
144+
return "UrlEncoded('%s')" % urllib.unquote(self)
145145

146146
@contextmanager
147147
def _handle_auth_error(msg):

0 commit comments

Comments
 (0)