forked from pEp.foundation/pEpPythonAdapter
Rebuild and fix pytest based tests in new dir tests_new. To work with defined env for engine using separate process per test.
parent
f07f6e060c
commit
e3c53a0d3c
@ -1,3 +1,11 @@
|
||||
[build-system]
|
||||
requires = ["setuptools >=39.2.0", "setuptools_scm >= 4.1.2", "wheel >= 0.35.1"]
|
||||
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."""
|
||||
|
||||
from pEp import __version__
|
||||
|
||||
|
||||
def test_pep_version():
|
||||
""" 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
|
||||
# setuptools_scm itself.
|
||||
assert __version__
|
Loading…
Reference in new issue