From 95990ada04c1d750c62c582f31d101fdff570f64 Mon Sep 17 00:00:00 2001 From: mabulgu Date: Thu, 2 Nov 2023 03:50:49 +0300 Subject: [PATCH] fix test --- tests/test_kfk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_kfk.py b/tests/test_kfk.py index d7673ea..eebb96f 100644 --- a/tests/test_kfk.py +++ b/tests/test_kfk.py @@ -24,8 +24,8 @@ def test_kfk_version(self, mock_setup): result = self.runner.invoke(kfk, ["--version"]) assert result.exit_code == 0 - expected_version = f"""CLI Version: - {pkg_resources.require("strimzi-kafka-cli")[0].version} + cli_version = pkg_resources.require("strimzi-kafka-cli")[0].version + expected_version = f"""CLI Version: {cli_version} Strimzi Version: {STRIMZI_VERSION} Kubectl Version: {KUBECTL_VERSION} """