Files
rook/tests/test_scaffold.py

18 lines
300 B
Python

import re
import pytest
def test_package_importable():
import rook
def test_version_is_semver():
import rook
assert re.match(r'^\d+\.\d+\.\d+$', rook.__version__) is not None
def test_author_is_string():
import rook
assert isinstance(rook.__author__, str)
assert len(rook.__author__) > 0