Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates #440

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Feditest: test federated protocols such as those in the Fediverse
# `feditest`: test federated protocols such as those in the Fediverse

This repo contains:

Expand Down
35 changes: 0 additions & 35 deletions src/feditest/cli/commands/list-templates.py

This file was deleted.

4 changes: 2 additions & 2 deletions src/feditest/protocols/sandbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, a: float, b: float, c: float):

class SandboxMultServer(Node):
"""
This is a "Server" Node in a to-be-tested toy protocol. It is only useful to illustrate how Feditest works.
This is a "Server" Node in a to-be-tested toy protocol. It is only useful to illustrate how FediTest works.
"""
def mult(self, a: float, b: float) -> float:
"""
Expand All @@ -46,7 +46,7 @@ def get_and_clear_log(self) -> List[SandboxLogEvent]:

class SandboxMultClient(Node):
"""
This is a "Client" Node in a to-be-tested toy protocol. It is only useful to illustrate how Feditest works.
This is a "Client" Node in a to-be-tested toy protocol. It is only useful to illustrate how FediTest works.
"""
def cause_mult(self, server: SandboxMultServer, a: float, b: float) -> float:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/feditest/testruntranscriptserializer/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _derive_full_and_local_filename(base: str, suffix: str) -> tuple[str,str]:

class HtmlRunTranscriptSerializer(TestRunTranscriptSerializer):
"""
Generates the Feditest reports as HTML.
Generates the FediTest reports as HTML.
If the transcript contains one session, it will generate one HTML file to the provided destination.

If the transcript contains multiple sessions, it will generate one HTML file per session and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
{% include "partials/shared/head.jinja2" %}
<title>{{ transcript | e }} ({{ transcript.id }}) | Feditest</title>
<title>{{ transcript | e }} ({{ transcript.id }}) | FediTest</title>
</head>
<body>
<header class="feditest title">
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a>:</span> {{ transcript | e }}</h1>
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a>:</span> {{ transcript | e }}</h1>
<p class="id">{{ transcript.id }}</p>
</header>
{% include "partials/shared/mobile.jinja2" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{%- endif %}
{%- endfor %}
<tr>
<th>Feditest&nbsp;version</th>
<th>FediTest&nbsp;version</th>
<td>{{ getattr(transcript, 'feditest_version') | e }}</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{%- endif %}
{%- endfor %}
<tr>
<th>Feditest&nbsp;version</th>
<th>FediTest&nbsp;version</th>
<td>{{ getattr(transcript, 'feditest_version') }}</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
{% include "partials/shared/head.jinja2" %}
<title>{{ transcript.plan.name | e }} | Feditest</title>
<title>{{ transcript.plan.name | e }} | FediTest</title>
</head>
<body>
<header class="feditest title">
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a> Report:</span> {{ transcript.plan.name | e }}</h1>
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a> Report:</span> {{ transcript.plan.name | e }}</h1>
<p class="id">{{ transcript.id }}</p>
</header>
{% include "partials/shared/mobile.jinja2" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
{% include "partials/shared/head.jinja2" %}
<title>{{ run_session | e }} ({{ transcript.id }}) | Feditest</title>
<title>{{ run_session | e }} ({{ transcript.id }}) | FediTest</title>
</head>
<body>
<header class="feditest title" style="text-align: center">
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a>:</span> {{ run_session | e }}</h1>
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a>:</span> {{ run_session | e }}</h1>
<p class="id">{{ transcript.id }} <a href="{{ matrix_file_path }}">&#x21e7;</a></p>
</header>
{% include "partials/shared/mobile.jinja2" %}
Expand Down
Loading