From cdfee67764e42ef2184dab6c69cce9645629206a Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Fri, 12 Apr 2024 13:50:42 +0000 Subject: [PATCH] Fix tests --- tests/test_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index bb96a6d..8b5c94d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -6,4 +6,5 @@ def test_cli_version(): cmd = [sys.executable, "-m", "odin_fastcs", "--version"] - assert subprocess.check_output(cmd).decode().strip() == __version__ + stdout = subprocess.check_output(cmd).decode().strip().split("\n") + assert __version__ in stdout