Skip to content

Commit

Permalink
fixed sorting in discover
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Sep 14, 2023
1 parent 6560c79 commit 2092fea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface_tester/cli/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def pprint_case(case: Callable):
if charms:
print(" - charms:")
charm: _CharmTestConfig
for charm in sorted(charms):
for charm in sorted(charms, key=lambda cfg: cfg.name):
if isinstance(charm, str):
print(" - <BADLY FORMATTED>")
continue
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "pytest-interface-tester"

version = "1.0.2"
version = "1.0.3"
authors = [
{ name = "Pietro Pasotti", email = "[email protected]" },
]
Expand Down

0 comments on commit 2092fea

Please sign in to comment.