Skip to content
Snippets Groups Projects
Commit 360902b6 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Last small changes for release

parent 9e45edcf
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,12 @@ workflows:
build_and_test:
jobs:
- build-python3.6
- build-python2.7
- build-python3.4
- build-python3.5
- build-python2.7:
requires:
- build-python3.6
- build-python3.4:
requires:
- build-python2.7
- build-python3.5:
requires:
- build-python3.5
......@@ -30,7 +30,7 @@ class TestBot:
def new_block(self, block):
chunk = 5
self.blocks = self.blocks + 1
if self.blocks % chunk == 0:
if self.blocks >= chunk:
self.notify.close()
......
......@@ -13,16 +13,13 @@ from pprint import pprint
from beem import Steem
from beemapi.websocket import SteemWebsocket
from beem.instance import set_shared_steem_instance
from beem.utils import get_node_list
# Py3 compatibility
import sys
wif = "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"
core_unit = "STM"
nodes = ["wss://steemd.pevo.science", "wss://gtg.steem.house:8090", "wss://rpc.steemliberator.com", "wss://rpc.buildteam.io",
"wss://rpc.steemviz.com", "wss://seed.bitcoiner.me", "wss://node.steem.ws", "wss://steemd.steemgigs.org", "wss://steemd.steemit.com",
"wss://steemd.minnowsupportproject.org"]
class TestBot:
def init(self):
......@@ -33,7 +30,7 @@ class TestBot:
chunk = 5
self.blocks = self.blocks + 1
print(str(self.blocks))
if self.blocks % chunk == 0:
if self.blocks >= chunk:
self.ws.stop()
......@@ -42,11 +39,10 @@ class Testcases(unittest.TestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
stm = Steem(node=nodes)
stm = Steem(node=get_node_list(appbase=False))
self.ws = SteemWebsocket(
urls=stm.rpc.urls,
timeout=15,
num_retries=10
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment