From b3de3b6e6964f08fc50026e6f18368ee7294bff2 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Thu, 14 Sep 2017 08:16:40 -0700 Subject: [PATCH] Fix unit test failures due to switch to testr changes Change-Id: Idae1413a769371cb7c76d4689f6dab67c72b22be --- .gitignore | 1 + .stestr.conf | 3 +++ test-requirements.txt | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .stestr.conf diff --git a/.gitignore b/.gitignore index 127cafc4c..ae6fcd48e 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ setuptools*.egg/ !/.gitreview !/.mailmap !/.pylintrc +!/.stestr.conf !/.testr.conf # Files created by releasenotes build diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 000000000..6c29806dd --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=${OS_TEST_PATH:-./neutron_lib/tests/unit} +top_dir=./ diff --git a/test-requirements.txt b/test-requirements.txt index 30600bb8e..d6afc0a57 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,7 +14,6 @@ oslotest>=1.10.0 # Apache-2.0 os-api-ref>=1.0.0 # Apache-2.0 os-testr>=0.8.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD testresources>=0.2.4 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT