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} """