Skip to content

Commit

Permalink
Removing websocket tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Mar 15, 2024
1 parent 2778410 commit 91962ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 437 deletions.
2 changes: 0 additions & 2 deletions sideboard/lib/_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ def _register_rpc_services(rpc_services):
jservice = getattr(jproxy, service_name)
if rpc_services.get(host, {}).get('jsonrpc_only'):
service = jservice
else:
service = services._register_websocket(_ws_url(host, rpc_opts), ssl_opts=ssl_opts, connect_immediately=False)

services.register(service, service_name, _jsonrpc=jservice, _override=True)

Expand Down
8 changes: 0 additions & 8 deletions sideboard/tests/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,6 @@ class Foo(object):
assert not is_listy(x)


def test_double_mount(request):
class Root(object):
pass
request.addfinalizer(lambda: cherrypy.tree.apps.pop('/test', None))
cherrypy.tree.mount(Root(), '/test')
pytest.raises(Exception, cherrypy.tree.mount, Root(), '/test')


def test_ajaz_serialization():
class Root(object):
@ajax
Expand Down
Loading

0 comments on commit 91962ee

Please sign in to comment.