From 34c77e002608420b96c224d8bb6942ab905e4383 Mon Sep 17 00:00:00 2001 From: Adrian D'Alessandro Date: Wed, 11 Dec 2024 20:34:37 +0000 Subject: [PATCH] Assert version string is a str in test --- .../tests/test_{{ cookiecutter.project_slug}}.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.project_slug }}/tests/test_{{ cookiecutter.project_slug}}.py b/{{ cookiecutter.project_slug }}/tests/test_{{ cookiecutter.project_slug}}.py index a8f3812..0f5974f 100644 --- a/{{ cookiecutter.project_slug }}/tests/test_{{ cookiecutter.project_slug}}.py +++ b/{{ cookiecutter.project_slug }}/tests/test_{{ cookiecutter.project_slug}}.py @@ -5,4 +5,4 @@ def test_version(): """Check that the version is acceptable.""" - assert __version__.startswith("0.1.") + assert isinstance(__version__, str)