Skip to content
Snippets Groups Projects
Commit 8ee187b5 authored by Matt Traudt's avatar Matt Traudt
Browse files

Fix test with hardcoded sbws version

parent 59840b2a
Branches
Tags
No related merge requests found
# -*- coding: utf-8 -*-
"""Test generation of bandwidth measurements document (v3bw)"""
from sbws.lib.v3bwfile import V3BwHeader
from sbws import __version__ as version
def test_v3bwheader_str():
......@@ -8,7 +9,7 @@ def test_v3bwheader_str():
timestamp = 1524661857
header = V3BwHeader(timestamp)
assert str(header) == '{}\nversion=1.1.0 software=sbws ' \
'software_version=0.1.0\n'.format(timestamp)
'software_version={}\n'.format(timestamp, version)
def test_v3bwfile():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment