Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
c950f59a
Commit
c950f59a
authored
May 23, 2018
by
juga
Committed by
Matt Traudt
Jun 05, 2018
Browse files
Fix linter errors
parent
589da111
Changes
2
Hide whitespace changes
Inline
Side-by-side
sbws/core/generate.py
View file @
c950f59a
...
...
@@ -2,7 +2,7 @@ from sbws.globals import (fail_hard, is_initted)
from
sbws.lib.v3bwfile
import
V3BwHeader
from
sbws.lib.resultdump
import
ResultSuccess
from
sbws.lib.resultdump
import
load_recent_results_in_datadir
from
sbws.util.timestamp
import
unixts_to_isodt_str
,
unixts_to_str
from
sbws.util.timestamp
import
unixts_to_isodt_str
from
argparse
import
ArgumentDefaultsHelpFormatter
from
statistics
import
median
import
os
...
...
tests/unit/lib/test_v3bwfile.py
View file @
c950f59a
# -*- coding: utf-8 -*-
"""Test generation of bandwidth measurements document (v3bw)"""
from
sbws.globals
import
SPEC_VERSION
from
sbws.lib.v3bwfile
import
V3BwHeader
,
TERMINATOR
,
LINE_SEP
,
KEYVALUE_SEP_V110
from
sbws.lib.v3bwfile
import
(
V3BwHeader
,
TERMINATOR
,
LINE_SEP
,
KEYVALUE_SEP_V110
)
from
sbws
import
__version__
as
version
timestamp
=
1523974147
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment