From ade99eb8b3e13030bfebc992e15400a4ae5fbf44 Mon Sep 17 00:00:00 2001 From: meejah Date: Sun, 18 Apr 2021 21:14:07 -0600 Subject: [PATCH] docstring, whitespace --- src/wormhole_transit_relay/test/test_service.py | 3 +++ src/wormhole_transit_relay/usage.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wormhole_transit_relay/test/test_service.py b/src/wormhole_transit_relay/test/test_service.py index 20e681d..23faed8 100644 --- a/src/wormhole_transit_relay/test/test_service.py +++ b/src/wormhole_transit_relay/test/test_service.py @@ -38,6 +38,9 @@ class Service(unittest.TestCase): log_file=fd, usage_db=None)]) def test_websocket(self): + """ + A websocket factory is created when passing --websocket + """ o = server_tap.Options() o.parseOptions(["--websocket=tcp:4004"]) services = server_tap.makeService(o) diff --git a/src/wormhole_transit_relay/usage.py b/src/wormhole_transit_relay/usage.py index b73fd7d..61bf308 100644 --- a/src/wormhole_transit_relay/usage.py +++ b/src/wormhole_transit_relay/usage.py @@ -213,7 +213,6 @@ class UsageTracker(object): incomplete_bytes) ) - def _notify_backends(self, data): """ Internal helper. Tell every backend we have about a new usage record.