From 01943aff2f468d0ad151645b4a8e4ebcb8570852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Thu, 16 Jan 2020 12:17:16 +0100 Subject: tests/integration/interactive_build.py: Relax expect for buildbox-run When commands are batched, the failure message can't include the command group label with buildbox-run. --- tests/integration/interactive_build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/interactive_build.py b/tests/integration/interactive_build.py index 9c832814d..c0b087126 100644 --- a/tests/integration/interactive_build.py +++ b/tests/integration/interactive_build.py @@ -53,7 +53,6 @@ def test_failed_build_quit(element_name, build_session, choice): @pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox") -@pytest.mark.xfail(HAVE_SANDBOX == "buildbox-run", reason="Not working with BuildBox") @pytest.mark.datafiles(DATA_DIR) @pytest.mark.parametrize("element_name", ["interactive/failed-build.bst"]) def test_failed_build_log(element_name, build_session): @@ -64,7 +63,7 @@ def test_failed_build_log(element_name, build_session): build_session.sendline(os.linesep * 20) # Assert that we got something from the logs - build_session.expect_exact("FAILURE interactive/failed-build.bst: Running build-commands") + build_session.expect("FAILURE interactive/failed-build.bst: Running (build-)?commands") # Quit the pager build_session.send("q") -- cgit v1.2.1