link and flake cleanup
This commit is contained in:
+4
-4
@@ -3,12 +3,12 @@ from hbd.proto import dicttos
|
||||
|
||||
|
||||
def test_parse_message_uncompressed():
|
||||
raw = dicttos('HTB', {'name': 'host', 'interval': 1})
|
||||
raw = dicttos("HTB", {"name": "host", "interval": 1})
|
||||
m = parse_message(raw)
|
||||
assert m['ID'].startswith('HTB')
|
||||
assert m["ID"].startswith("HTB")
|
||||
|
||||
|
||||
def test_parse_message_compressed():
|
||||
raw = dicttos('ACK', {'time': 1}, compress=True)
|
||||
raw = dicttos("ACK", {"time": 1}, compress=True)
|
||||
m = parse_message(raw)
|
||||
assert 'ID' in m
|
||||
assert "ID" in m
|
||||
|
||||
Reference in New Issue
Block a user