File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " atlassian-cli"
7- version = " 0.1.6 "
7+ version = " 0.1.7 "
88description = " CLI for Atlassian Server and Data Center products"
99readme = " README.md"
1010requires-python = " >=3.12"
Original file line number Diff line number Diff line change 11__all__ = ["__version__" ]
22
3- __version__ = "0.1.5 "
3+ __version__ = "0.1.7 "
Original file line number Diff line number Diff line change 11import json
2+ import tomllib
23from pathlib import Path
34
45from typer .testing import CliRunner
2122runner = CliRunner ()
2223
2324
25+ def test_package_version_matches_pyproject () -> None :
26+ pyproject = tomllib .loads (Path ("pyproject.toml" ).read_text ())
27+
28+ assert __version__ == pyproject ["project" ]["version" ]
29+
30+
2431class FakeResponse :
2532 def __init__ (self , payload : dict ) -> None :
2633 self .payload = payload
You can’t perform that action at this time.
0 commit comments