From 8048d67a2b1c9dc54bc746c25530507c617508dd Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Mon, 31 Jan 2022 23:06:48 +0100 Subject: [PATCH] Fix update checker tests #1566 (cherry picked from commit 6ea4d4726b4ed95d0b0d69c6b11c77f922afcc57) --- dsmr_backend/tests/services/test_backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsmr_backend/tests/services/test_backend.py b/dsmr_backend/tests/services/test_backend.py index 1199d0017..fa8d8c6f3 100644 --- a/dsmr_backend/tests/services/test_backend.py +++ b/dsmr_backend/tests/services/test_backend.py @@ -328,12 +328,12 @@ class TestIslatestVersion(TestCase): response_same_branch_unchanged = [ { # Lowest in branch - "tag_name": "v{}.0.0".format(settings.DSMRREADER_MAIN_BRANCH), + "tag_name": "{}.0.0".format(settings.DSMRREADER_MAIN_BRANCH), "prerelease": False, "draft": False, }, { - # Current in branch + # Same in branch "tag_name": '{}.{}.{}'.format(* settings.DSMRREADER_RAW_VERSION[:3]), "prerelease": False, "draft": False,