Use newly created version object
This commit is contained in:
parent
e2f562aa8c
commit
9250d366b9
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue