
13 changed files with 36 additions and 28 deletions
@ -1,3 +1,11 @@ |
|||||
[build-system] |
[build-system] |
||||
requires = ["setuptools >=39.2.0", "setuptools_scm >= 4.1.2", "wheel >= 0.35.1"] |
requires = ["setuptools >=39.2.0", "setuptools_scm >= 4.1.2", "wheel >= 0.35.1"] |
||||
build-backend = "setuptools.build_meta" |
build-backend = "setuptools.build_meta" |
||||
|
|
||||
|
[tool.pytest.ini_options] |
||||
|
minversion = "6.0" |
||||
|
addopts = "" |
||||
|
testpaths = [ |
||||
|
"tests_new", |
||||
|
] |
||||
|
|
||||
|
@ -1,10 +1,10 @@ |
|||||
"""Unit test for pEp package, not for subpackages or modules.""" |
"""Unit test for pEp package, not for subpackages or modules.""" |
||||
|
|
||||
from pEp import __version__ |
|
||||
|
|
||||
|
|
||||
def test_pep_version(): |
def test_pep_version(): |
||||
""" Test that __version__ is not None or empty and is not 0.0.0.""" |
""" Test that __version__ is not None or empty and is not 0.0.0.""" |
||||
|
from pEp import __version__ |
||||
# We could also test that match the regex, but that is already a test in |
# We could also test that match the regex, but that is already a test in |
||||
# setuptools_scm itself. |
# setuptools_scm itself. |
||||
assert __version__ |
assert __version__ |
Loading…
Reference in new issue