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.