File: test_readme.py

package info (click to toggle)
python-scramp 1.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: python: 1,013; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
import doctest
from pathlib import Path


def test_readme():
    failure_count, _ = doctest.testfile(
        str(Path("..") / "README.md"), verbose=False, optionflags=doctest.ELLIPSIS
    )
    assert failure_count == 0