Skip to content

Commit b577639

Browse files
jernstJohannes Ernst
andauthored
Minor updates (#440)
* Remove now obsolete command * Minor copy editing: use FediTest not Feditest --------- Co-authored-by: Johannes Ernst <git@j12t.org>
1 parent c74a6d5 commit b577639

File tree

9 files changed

+12
-47
lines changed

9 files changed

+12
-47
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Feditest: test federated protocols such as those in the Fediverse
1+
# `feditest`: test federated protocols such as those in the Fediverse
22

33
This repo contains:
44

src/feditest/cli/commands/list-templates.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/feditest/protocols/sandbox/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, a: float, b: float, c: float):
2020

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

4747
class SandboxMultClient(Node):
4848
"""
49-
This is a "Client" Node in a to-be-tested toy protocol. It is only useful to illustrate how Feditest works.
49+
This is a "Client" Node in a to-be-tested toy protocol. It is only useful to illustrate how FediTest works.
5050
"""
5151
def cause_mult(self, server: SandboxMultServer, a: float, b: float) -> float:
5252
"""

src/feditest/testruntranscriptserializer/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _derive_full_and_local_filename(base: str, suffix: str) -> tuple[str,str]:
4444

4545
class HtmlRunTranscriptSerializer(TestRunTranscriptSerializer):
4646
"""
47-
Generates the Feditest reports as HTML.
47+
Generates the FediTest reports as HTML.
4848
If the transcript contains one session, it will generate one HTML file to the provided destination.
4949
5050
If the transcript contains multiple sessions, it will generate one HTML file per session and

src/feditest/testruntranscriptserializer/templates/testplantranscript_default/matrix.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<html lang="en">
33
<head>
44
{% include "partials/shared/head.jinja2" %}
5-
<title>{{ transcript | e }} ({{ transcript.id }}) | Feditest</title>
5+
<title>{{ transcript | e }} ({{ transcript.id }}) | FediTest</title>
66
</head>
77
<body>
88
<header class="feditest title">
9-
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a>:</span> {{ transcript | e }}</h1>
9+
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a>:</span> {{ transcript | e }}</h1>
1010
<p class="id">{{ transcript.id }}</p>
1111
</header>
1212
{% include "partials/shared/mobile.jinja2" %}

src/feditest/testruntranscriptserializer/templates/testplantranscript_default/partials/matrix/metadata.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{%- endif %}
2222
{%- endfor %}
2323
<tr>
24-
<th>Feditest&nbsp;version</th>
24+
<th>FediTest&nbsp;version</th>
2525
<td>{{ getattr(transcript, 'feditest_version') | e }}</td>
2626
</tr>
2727
</tbody>

src/feditest/testruntranscriptserializer/templates/testplantranscript_default/partials/shared_session/metadata.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{%- endif %}
2222
{%- endfor %}
2323
<tr>
24-
<th>Feditest&nbsp;version</th>
24+
<th>FediTest&nbsp;version</th>
2525
<td>{{ getattr(transcript, 'feditest_version') }}</td>
2626
</tr>
2727
</tbody>

src/feditest/testruntranscriptserializer/templates/testplantranscript_default/session_single.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<html lang="en">
33
<head>
44
{% include "partials/shared/head.jinja2" %}
5-
<title>{{ transcript.plan.name | e }} | Feditest</title>
5+
<title>{{ transcript.plan.name | e }} | FediTest</title>
66
</head>
77
<body>
88
<header class="feditest title">
9-
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a> Report:</span> {{ transcript.plan.name | e }}</h1>
9+
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a> Report:</span> {{ transcript.plan.name | e }}</h1>
1010
<p class="id">{{ transcript.id }}</p>
1111
</header>
1212
{% include "partials/shared/mobile.jinja2" %}

src/feditest/testruntranscriptserializer/templates/testplantranscript_default/session_with_matrix.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<html lang="en">
33
<head>
44
{% include "partials/shared/head.jinja2" %}
5-
<title>{{ run_session | e }} ({{ transcript.id }}) | Feditest</title>
5+
<title>{{ run_session | e }} ({{ transcript.id }}) | FediTest</title>
66
</head>
77
<body>
88
<header class="feditest title" style="text-align: center">
9-
<h1><span class="prefix"><a href="https://feditest.org/">Feditest</a>:</span> {{ run_session | e }}</h1>
9+
<h1><span class="prefix"><a href="https://feditest.org/">FediTest</a>:</span> {{ run_session | e }}</h1>
1010
<p class="id">{{ transcript.id }} <a href="{{ matrix_file_path }}">&#x21e7;</a></p>
1111
</header>
1212
{% include "partials/shared/mobile.jinja2" %}

0 commit comments

Comments
 (0)