summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Short <zulcss@gmail.com>2018-06-11 09:05:10 -0400
committerCharles Short <zulcss@gmail.com>2018-06-11 09:07:25 -0400
commiteb3187863bfc3f60a5ea0f136ec3c14a8c8d6d71 (patch)
treeab627c4dcab1965921d36384b63122983a0474df
parent3bbfdcff6f4058d2d40e656055c2e260138cb0cd (diff)
Switch to using stestr1.1.0
According to Openstack summit session [1] stestr is maintained project to which all Openstack projects should migrate. Let's switch it then. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I3e93ad47babbbab8768739faadb0daa44f75a2cb Signed-off-by: Charles Short <zulcss@gmail.com>
Notes
Notes (review): Code-Review+2: Dmitry Tantsur <divius.inside@gmail.com> Code-Review+2: Hironori Shiina <shiina.hironori@jp.fujitsu.com> Workflow+1: Hironori Shiina <shiina.hironori@jp.fujitsu.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Jun 2018 07:02:55 +0000 Reviewed-on: https://review.openstack.org/574248 Project: openstack/networking-generic-switch Branch: refs/heads/master
-rw-r--r--.gitignore1
-rw-r--r--.stestr.conf3
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini2
4 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 45b35e5..62e5e17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ develop-eggs
23 23
24# Testing artefacts 24# Testing artefacts
25.testrepository 25.testrepository
26.stestr
26.tox 27.tox
27.venv 28.venv
28.coverage 29.coverage
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 0000000..d717d1b
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,3 @@
1[DEFAULT]
2test_path=${TESTS_DIR:-./networking_generic_switch/tests/unit/}
3top_dir=./
diff --git a/test-requirements.txt b/test-requirements.txt
index 2c51d9a..2189177 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,7 +6,7 @@
6mock>=2.0.0 # BSD 6mock>=2.0.0 # BSD
7coverage!=4.4,>=4.0 # Apache-2.0 7coverage!=4.4,>=4.0 # Apache-2.0
8fixtures>=3.0.0 # Apache-2.0/BSD 8fixtures>=3.0.0 # Apache-2.0/BSD
9os-testr>=1.0.0 # Apache-2.0 9stestr>=1.0.0 # Apache-2.0
10 10
11# Code analysis/style check requirements 11# Code analysis/style check requirements
12# hacking pins flake8 pep8 pyflakes mccabe 12# hacking pins flake8 pep8 pyflakes mccabe
diff --git a/tox.ini b/tox.ini
index 484f1ad..9d359ab 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ deps =
18 -r{toxinidir}/test-requirements.txt 18 -r{toxinidir}/test-requirements.txt
19passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY 19passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
20commands = 20commands =
21 ostestr {posargs} 21 stestr run {posargs}
22 22
23[testenv:pep8] 23[testenv:pep8]
24whitelist_externals = bash 24whitelist_externals = bash