From 8d63a4cdb74c54594f80d9b401b0fa6e867b601c Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Tue, 16 May 2017 19:26:43 -0400 Subject: [PATCH] Skip run OSC tests on unit tests OSC tests should be run on functional tests instead Change-Id: I902becdbd8298b4f3da6db6b440a1281b844b079 --- .testr.conf | 2 +- zunclient/tests/{ => unit}/test_websocketclient.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename zunclient/tests/{ => unit}/test_websocketclient.py (100%) diff --git a/.testr.conf b/.testr.conf index 6d83b3c4..3602ba25 100644 --- a/.testr.conf +++ b/.testr.conf @@ -2,6 +2,6 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ - ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION + ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./zunclient/tests/unit} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list diff --git a/zunclient/tests/test_websocketclient.py b/zunclient/tests/unit/test_websocketclient.py similarity index 100% rename from zunclient/tests/test_websocketclient.py rename to zunclient/tests/unit/test_websocketclient.py