Browse Source

Test the package version

pull/2/head
juga 2 years ago
parent
commit
2dc44380f1
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      tests/test_pep.py

+ 11
- 0
tests/test_pep.py View File

@ -0,0 +1,11 @@
"""Unit test for pEp package, not for subpackages or modules."""
from pEp import __version__
def test_pep_version():
""" Test that __version__ is not None or empty and is not 0.0.0."""
# We could also test that match the regex, but that is already a test in
# setuptools_scm itself.
assert __version__
assert __version__ != "0.0.0"

Loading…
Cancel
Save