Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge b1641a8 into 09ff3c7
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Aug 28, 2018
2 parents 09ff3c7 + b1641a8 commit 94e91c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions neorpc/Settings.py
Expand Up @@ -22,22 +22,22 @@ def setup_mainnet(self):
""" Load settings from the mainnet JSON config file """
self.setup(
[
"http://seed1.cityofzion.io:8080",
"http://seed2.cityofzion.io:8080",
"http://seed3.cityofzion.io:8080",
"http://seed4.cityofzion.io:8080",
"http://seed5.cityofzion.io:8080"
"https://seed1.cityofzion.io:443",
"https://seed2.cityofzion.io:443",
"https://seed3.cityofzion.io:443",
"https://seed4.cityofzion.io:443",
"https://seed5.cityofzion.io:443"
]
)

def setup_testnet(self):
self.setup(
[
"http://test1.cityofzion.io:8880",
"http://test2.cityofzion.io:8880",
"http://test3.cityofzion.io:8880",
"http://test4.cityofzion.io:8880",
"http://test5.cityofzion.io:8880"
"https://test1.cityofzion.io:443",
"https://test2.cityofzion.io:443",
"https://test3.cityofzion.io:443",
"https://test4.cityofzion.io:443",
"https://test5.cityofzion.io:443"
]
)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_client.py
Expand Up @@ -69,7 +69,7 @@ def test_call_endpoint_exception(self):
def test_call_endpoint_status_moved(self):#, mocked_post):
client = RPCClient()

responses.add(responses.POST, 'http://test5.cityofzion.io:8880/',
responses.add(responses.POST, 'https://test5.cityofzion.io:443/',
json={'Found': 'Moved'}, status=302)

response = client.get_height()
Expand Down Expand Up @@ -357,7 +357,7 @@ def setUp(self):
self.ep2.height = 1

def test_eq(self):
self.assertEquals(self.ep1, self.ep2)
self.assertEqual(self.ep1, self.ep2)

def test_gt_and_ge(self):
self.ep2.height = 2
Expand Down

0 comments on commit 94e91c2

Please sign in to comment.