mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-23 15:00:36 -04:00
chore: Additional frontier testing and reformat
This commit is contained in:
parent
e7e4225bf2
commit
addf73f865
5 changed files with 99 additions and 14 deletions
|
@ -76,8 +76,11 @@ def test_run_command(capsys, cmd):
|
|||
)
|
||||
out, err = proc.communicate()
|
||||
# Remove lines from syntax warning in imported library
|
||||
filtered_lines = [line for line in err.decode("utf-8").splitlines() if "reppy" not in line and
|
||||
"re.compile" not in line]
|
||||
filtered_lines = [
|
||||
line
|
||||
for line in err.decode("utf-8").splitlines()
|
||||
if "reppy" not in line and "re.compile" not in line
|
||||
]
|
||||
assert filtered_lines == []
|
||||
assert out == ("brozzler %s - %s\n" % (brozzler.__version__, cmd)).encode("ascii")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue