mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-23 13:24:18 +00:00
Fix rest.py test after #5376
This commit is contained in:
parent
fec0d100d5
commit
90f7aa7778
@ -31,7 +31,7 @@ def http_get_call(host, port, path, response_object = 0):
|
|||||||
|
|
||||||
|
|
||||||
class RESTTest (BitcoinTestFramework):
|
class RESTTest (BitcoinTestFramework):
|
||||||
FORMAT_SEPARATOR = "/"
|
FORMAT_SEPARATOR = "."
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
url = urlparse.urlparse(self.nodes[0].url)
|
url = urlparse.urlparse(self.nodes[0].url)
|
||||||
@ -59,4 +59,4 @@ class RESTTest (BitcoinTestFramework):
|
|||||||
assert_greater_than(int(response.getheader('content-length')), 10)
|
assert_greater_than(int(response.getheader('content-length')), 10)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
RESTTest ().main ()
|
RESTTest ().main ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user