1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 11:46:04 +00:00
Files
fep/scripts/fep_tools/test_readme.py
T

20 lines
379 B
Python
Raw Normal View History

2023-10-27 13:42:33 +02:00
import pytest
2025-11-01 08:40:20 +01:00
from scripts.fep_tools import Readme
2023-10-27 13:42:33 +02:00
@pytest.mark.skip("Only is correct for main branch and not pull requests")
def test_readme():
with open("README.md") as f:
lines = f.readlines()
expected = Readme().content
assert lines == expected
2025-11-01 08:40:20 +01:00
def test_readme_can_be_created():
content = Readme().content
assert isinstance(content, list)