1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-09 05:56:10 +00:00

Update Scripts for dateWithdrawn information

This commit is contained in:
Helge
2023-09-06 19:44:58 +02:00
parent fdb40439e2
commit 973401f606
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -16,6 +16,11 @@ def test_fep(fep):
assert parsed_frontmatter["slug"] == f'"{fep}"'
assert "authors" in parsed_frontmatter
if parsed_frontmatter["status"] == "FINAL":
assert "dateFinalized" in parsed_frontmatter
if parsed_frontmatter["status"] == "WITHDRAWN":
assert "dateWithdrawn" in parsed_frontmatter
assert "## Summary" in content
assert "## Copyright" in content