From 1fdd29df5ed1e3d8ed8ed2214f0e5d2af8b17ddd Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 26 Jul 2023 22:30:27 +0200 Subject: [PATCH] fix: version string in main module (#558) --- ansible_rulebook/__init__.py | 2 +- tests/unit/test_cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_rulebook/__init__.py b/ansible_rulebook/__init__.py index 26deac07..d7d0a1ac 100644 --- a/ansible_rulebook/__init__.py +++ b/ansible_rulebook/__init__.py @@ -14,4 +14,4 @@ """Top-level package for Ansible Events.""" -__version__ = "__version__ = '1.0.1'" +__version__ = "1.0.1" diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index a489dd35..5581154a 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -11,7 +11,7 @@ def test_get_version(): output = get_version() pattern = re.compile( - r"""(.+)\d+\.\d+\.\d+' + r"""\d+\.\d+\.\d+ Executable location = (.+) Drools_jpy version = \d+\.\d+\.\d+ Java home = (.+)