Adjust for unit test marking
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 24 Nov 2020 17:01:35 +0000 (11:01 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 1 Dec 2020 22:10:24 +0000 (16:10 -0600)
tests/test_core.py
tox.ini

index 0c2f8899ce5353c770b199cb2e2a0fdaf51878e3..2bd638b29934233f3bc33e8280d0dba487d057a6 100644 (file)
@@ -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 fd9425d4c22b22fae3d0105d7ba6c01c5f529800..88066aa18b09f0c20c258397e09dd7212b2bc210 100644 (file)
--- 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