From e80e725fe45f74141e273dccf47f6a61b942b412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Fri, 11 Mar 2022 19:16:44 +0545 Subject: [PATCH] tests: fix test failures with rich==12 --- tests/func/experiments/test_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/experiments/test_init.py b/tests/func/experiments/test_init.py index fc0bc61d8..c11fcdfb2 100644 --- a/tests/func/experiments/test_init.py +++ b/tests/func/experiments/test_init.py @@ -280,7 +280,7 @@ def test_init_default(tmp_dir, scm, dvc, interactive, overrides, inp, capsys): if interactive: assert "'script.py' does not exist, the file will be created." in err assert "'data' does not exist, the directory will be created." in err - assert "Using experiment project structure: " in out + assert "Using experiment project structure:" in out assert "Created script.py and data" in out @@ -365,7 +365,7 @@ def test_init_interactive_live( if interactive: assert "'script.py' does not exist, the file will be created." in err assert "'data' does not exist, the directory will be created." in err - assert "Using experiment project structure: " in out + assert "Using experiment project structure:" in out assert "Created script.py and data" in out