From: Karl O. Pinc Date: Tue, 24 Nov 2020 17:01:35 +0000 (-0600) Subject: Adjust for unit test marking X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=144f1b9f82885af6a67a80125048e42183df2eb1;p=pgwui_core Adjust for unit test marking --- diff --git a/tests/test_core.py b/tests/test_core.py index 0c2f889..2bd638b 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -29,3 +29,10 @@ def test_userinitialpost_init(): assert uip.db == default_db assert uip.user == '' assert uip.password == '' + + +@pytest.mark.integrationtest +def test_dummy(): + '''Exists only so tox sees a non-integration test + ''' + assert True diff --git a/tox.ini b/tox.ini index fd9425d..88066aa 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,8 @@ commands = python setup.py sdist twine check dist/* flake8 . - py.test --cov=pgwui_core tests/ + py.test -m unittest --cov=pgwui_core tests/ + py.test -m 'not unittest' --cov=pgwui_core tests/ # coverage run --source src/pgwui_core -m py.test # coverage report