Commit 3f451e52 authored by juga  's avatar juga
Browse files

Add test for bw file header

parent 6573c754
# -*- coding: utf-8 -*-
"""Test generation of bandwidth measurements document (v3bw)"""
from sbws.lib.v3bwfile import V3BwHeader
def test_v3bwheader_str():
"""Test header str"""
timestamp = 1524661857
header = V3BwHeader(timestamp)
assert str(header) == '{}\nversion=1.1.0\nsoftware=sbws\n' \
'software_version=0.1.0\n'.format(timestamp)
def test_v3bwfile():
"""Test generate v3bw file (including relay_lines)."""
pass
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment