From e6352788c2545e134b65a85ff53d347b7218077e Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt <holgernahrstaedt@gmx.de> Date: Fri, 23 Oct 2020 11:21:24 +0200 Subject: [PATCH] Delete test_websocket.py --- tests/beemapi/test_websocket.py | 38 --------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 tests/beemapi/test_websocket.py diff --git a/tests/beemapi/test_websocket.py b/tests/beemapi/test_websocket.py deleted file mode 100644 index 1e8ed833..00000000 --- a/tests/beemapi/test_websocket.py +++ /dev/null @@ -1,38 +0,0 @@ -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals -from builtins import range -from builtins import super -import string -import unittest -import random -import itertools -from pprint import pprint -from beem import Steem -from beemapi.websocket import NodeWebsocket -from beem.instance import set_shared_steem_instance -from beem.nodelist import NodeList -# Py3 compatibility -import sys - -wif = "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3" -core_unit = "STM" - - -class Testcases(unittest.TestCase): - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - nodelist = NodeList() - nodelist.update_nodes(steem_instance=Steem(node=nodelist.get_steem_nodes(), num_retries=10)) - stm = Steem(node=nodelist.get_steem_nodes()) - - self.ws = NodeWebsocket( - urls=stm.rpc.nodes, - num_retries=10 - ) - - def test_connect(self): - ws = self.ws - self.assertTrue(len(next(ws.nodes)) > 0) -- GitLab