From 4e8746cfaab966764ca2570b322bc515cfde5e1e Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Tue, 29 Dec 2020 14:48:41 +0100 Subject: [PATCH] fix tests: we didn't have version information in README ;) --- tests/test_project_setup.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_project_setup.py b/tests/test_project_setup.py index 827ce28..ec62036 100644 --- a/tests/test_project_setup.py +++ b/tests/test_project_setup.py @@ -20,11 +20,6 @@ def assert_file_contains_string(file_path, string): def test_version(): version = inventory.__version__ - if 'dev' not in version and 'rc' not in version: - version_string = f'v{version}' - - assert_file_contains_string(file_path=Path(PACKAGE_ROOT, 'README.md'), string=version_string) - assert_file_contains_string(file_path=Path(PACKAGE_ROOT, 'pyproject.toml'), string=f'version = "{version}~ynh') assert_file_contains_string(file_path=Path(PACKAGE_ROOT, 'pyproject.toml'), string=f'pyinventory = "=={version}"') assert_file_contains_string(file_path=Path(PACKAGE_ROOT, 'manifest.json'), string=f'"version": "{version}~ynh')