From 9250d366b97655f7477778c95a1bd7153ddef356 Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 22 Feb 2023 10:58:11 +0100 Subject: [PATCH] Use newly created version object --- test/test_version_class.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_version_class.py b/test/test_version_class.py index 8880488..486a2a7 100644 --- a/test/test_version_class.py +++ b/test/test_version_class.py @@ -66,7 +66,7 @@ def test_gradle(tmp_path): # test repo = VersionRepository(f) version = repo.get_version(ReleaseType.SNAPSHOT) - version.create_release_version() + version = version.create_release_version() repo.write_file(version.get_version_string()) # check @@ -84,7 +84,7 @@ def test_json(tmp_path): # test repo = VersionRepository(f) version = repo.get_version(ReleaseType.SNAPSHOT) - version.create_release_version() + version = version.create_release_version() repo.write_file(version.get_version_string()) # check @@ -102,7 +102,7 @@ def test_clojure(tmp_path): # test repo = VersionRepository(f) version = repo.get_version(ReleaseType.SNAPSHOT) - version.create_release_version() + version = version.create_release_version() repo.write_file(version.get_version_string()) # check @@ -120,7 +120,7 @@ def test_python(tmp_path): # test repo = VersionRepository(f) version = repo.get_version(ReleaseType.SNAPSHOT) - version.create_release_version() + version = version.create_release_version() repo.write_file(version.get_version_string()) # check