|
|
|
@ -31,7 +31,7 @@ def http_get_call(host, port, path, response_object = 0):
@@ -31,7 +31,7 @@ def http_get_call(host, port, path, response_object = 0):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RESTTest (BitcoinTestFramework): |
|
|
|
|
FORMAT_SEPARATOR = "/" |
|
|
|
|
FORMAT_SEPARATOR = "." |
|
|
|
|
|
|
|
|
|
def run_test(self): |
|
|
|
|
url = urlparse.urlparse(self.nodes[0].url) |
|
|
|
@ -59,4 +59,4 @@ class RESTTest (BitcoinTestFramework):
@@ -59,4 +59,4 @@ class RESTTest (BitcoinTestFramework):
|
|
|
|
|
assert_greater_than(int(response.getheader('content-length')), 10) |
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
|
RESTTest ().main () |
|
|
|
|
RESTTest ().main () |
|
|
|
|