Skip to content

Commit

Permalink
Slightly better reporting, see comment in fediverse-devnet#332
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Ernst committed Sep 6, 2024
1 parent c944c00 commit 8046ac9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- if session_links -%}
<a href="{{ session_file_path(plan_session) }}">
{%- endif -%}
{{ constellation.name or "Unnamed" }}
{{ constellation }}
{%- if session_links -%}
</a>
{%- endif -%}
Expand Down
5 changes: 4 additions & 1 deletion src/feditest/testplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ def load(filename: str) -> 'TestPlanConstellation':


def __str__(self):
return self.name if self.name else 'Unnamed'
if self.name:
return self.name
# construct something that makes sense to the user
return ", ".join( [ f'{ role }: { node.nodedriver }' for role, node in self.roles.items() ] )


def is_template(self):
Expand Down

0 comments on commit 8046ac9

Please sign in to comment.