diff --git a/kmip/tests/integration/services/test_kmip_client.py b/kmip/tests/integration/services/test_kmip_client.py index 5b41b7c..58dbdf7 100644 --- a/kmip/tests/integration/services/test_kmip_client.py +++ b/kmip/tests/integration/services/test_kmip_client.py @@ -13,6 +13,8 @@ # License for the specific language governing permissions and limitations # under the License. +import pytest + from testtools import TestCase from subprocess import Popen @@ -55,6 +57,7 @@ from kmip.services.kmip_client import KMIPProxy import kmip.core.utils as utils +@pytest.mark.ignore class TestKMIPClientIntegration(TestCase): STARTUP_TIME = 1.0 SHUTDOWN_TIME = 0.1 diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..582459e --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +markers = + ignore: skip the given test object diff --git a/tox.ini b/tox.ini index f82daaf..391c925 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ commands = flake8 kmip/ deps = {[testenv]deps} basepython=python2.7 commands = - py.test --strict kmip/tests/integration {posargs} + py.test --strict kmip/tests/integration -m "not ignore" {posargs} [flake8] exclude = .git,.tox,dist,rpmbuild,*.egg-info