docstring, whitespace

This commit is contained in:
meejah 2021-04-18 21:14:07 -06:00
parent 513e5bed6e
commit ade99eb8b3
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,9 @@ class Service(unittest.TestCase):
log_file=fd, usage_db=None)]) log_file=fd, usage_db=None)])
def test_websocket(self): def test_websocket(self):
"""
A websocket factory is created when passing --websocket
"""
o = server_tap.Options() o = server_tap.Options()
o.parseOptions(["--websocket=tcp:4004"]) o.parseOptions(["--websocket=tcp:4004"])
services = server_tap.makeService(o) services = server_tap.makeService(o)

View File

@ -213,7 +213,6 @@ class UsageTracker(object):
incomplete_bytes) incomplete_bytes)
) )
def _notify_backends(self, data): def _notify_backends(self, data):
""" """
Internal helper. Tell every backend we have about a new usage record. Internal helper. Tell every backend we have about a new usage record.