why did those tests fail???

This commit is contained in:
Noah Levitt 2018-08-22 11:18:04 -07:00
parent b6942a7bb0
commit d45de4a28c
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ install:
- chromium-browser --version
- sudo service brozzler-worker restart
script:
- DISPLAY=:1 py.test -v tests
- DISPLAY=:1 py.test --tb=native -v tests
after_failure:
- chromium-browser --version
- sudo cat /var/log/upstart/warcprox.log

View File

@ -53,9 +53,9 @@ def test_run_command(capsys, cmd):
proc = subprocess.Popen(
[cmd, '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = proc.communicate()
assert err == b''
assert out == ('brozzler %s - %s\n' % (
brozzler.__version__, cmd)).encode('ascii')
assert err == b''
def test_rethinkdb_up():
'''Check that rethinkdb is up and running.'''