mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 08:06:27 -04:00
why did those tests fail???
This commit is contained in:
parent
b6942a7bb0
commit
d45de4a28c
@ -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
|
||||
|
@ -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.'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user