docstring, whitespace
This commit is contained in:
parent
513e5bed6e
commit
ade99eb8b3
|
@ -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)
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user