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

14 lines
270 B
Python
Raw Normal View History

2023-10-27 13:42:33 +02:00
import pytest
from scripts.tools import Readme
@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