Commit 6989b443 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

tests/cachekey/cachekey.py: Use new error checking

parent c6df92fc
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -155,9 +155,5 @@ def test_cache_key(datafiles, cli):
        '--format', '%{name}::%{full-key}',
        'target.bst'
    ])

    if result.exit_code != 0:
        raise AssertionError("BuildStream exited with code {} and output:\n{}"
                             .format(result.exit_code, result.output))

    result.assert_success()
    assert_cache_keys(project, result.output)