aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/authproxy.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-07-13 10:53:42 -0400
committerJonas Schnelli <dev@jonasschnelli.ch>2017-07-17 17:42:21 +0200
commit979d0b8a6533de58b6352666d90fff33841db63d (patch)
treecb4bb336fee10fb319d67a88dfa5385e75686217 /test/functional/test_framework/authproxy.py
parent76603b132513266065235d686b82aaa6a2968303 (diff)
downloadbitcoin-979d0b8a6533de58b6352666d90fff33841db63d.tar.xz
[tests] [wallet] Add wallet endpoint support to authproxy
Diffstat (limited to 'test/functional/test_framework/authproxy.py')
-rw-r--r--test/functional/test_framework/authproxy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py
index dfcc524313..b3671cbdc5 100644
--- a/test/functional/test_framework/authproxy.py
+++ b/test/functional/test_framework/authproxy.py
@@ -191,3 +191,6 @@ class AuthServiceProxy(object):
else:
log.debug("<-- [%.6f] %s"%(elapsed,responsedata))
return response
+
+ def __truediv__(self, relative_uri):
+ return AuthServiceProxy("{}/{}".format(self.__service_url, relative_uri), self._service_name, connection=self.__conn)