summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com>2018-07-25 21:59:22 +0900
committerYushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com>2018-07-25 13:02:06 +0000
commit89c1742a8c6e682c27dbcd531ea002c6378c4cef (patch)
tree2a39a292b6326b812e95f8cdedb27b815778ffef
parent7ed00236a50ff36989618b8da760120adca433e6 (diff)
Migrate stestr completely
https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I7926e8ddb9d1669060ba6bce09e5bd6465678435
Notes
Notes (review): Code-Review+2: Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> Workflow+1: Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 25 Jul 2018 23:39:54 +0000 Reviewed-on: https://review.openstack.org/585740 Project: openstack/networking-fujitsu Branch: refs/heads/master
-rw-r--r--.gitignore1
-rw-r--r--.stestr.conf2
-rw-r--r--lower-constraints.txt1
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini5
5 files changed, 4 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 8e482ce..c61cf46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,7 +28,6 @@ cover/
28.tox 28.tox
29nosetests.xml 29nosetests.xml
30.stestr 30.stestr
31.testrepository
32.venv 31.venv
33 32
34# Translations 33# Translations
diff --git a/.stestr.conf b/.stestr.conf
index d47791e..8530486 100644
--- a/.stestr.conf
+++ b/.stestr.conf
@@ -1,3 +1,3 @@
1[DEFAULT] 1[DEFAULT]
2test_path=${TESTS_DIR:-./networking_fujitsu/tests/unit/} 2test_path=./networking_fujitsu/tests/unit
3top_dir=./ 3top_dir=./
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 21ba372..d92dcdd 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -136,7 +136,6 @@ stestr==2.0.0
136stevedore==1.28.0 136stevedore==1.28.0
137Tempita==0.5.2 137Tempita==0.5.2
138tenacity==4.9.0 138tenacity==4.9.0
139testrepository==0.0.18
140testresources==2.0.0 139testresources==2.0.0
141testscenarios==0.4 140testscenarios==0.4
142testtools==2.2.0 141testtools==2.2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 7ceeb7d..fbb45b0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10,7 +10,7 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
10oslosphinx>=4.7.0 # Apache-2.0 10oslosphinx>=4.7.0 # Apache-2.0
11oslotest>=3.2.0 # Apache-2.0 11oslotest>=3.2.0 # Apache-2.0
12os-testr>=1.0.0 # Apache-2.0 12os-testr>=1.0.0 # Apache-2.0
13testrepository>=0.0.18 # Apache-2.0/BSD 13stestr>=2.0.0 # Apache-2.0
14testscenarios>=0.4 # Apache-2.0/BSD 14testscenarios>=0.4 # Apache-2.0/BSD
15testtools>=2.2.0 # MIT 15testtools>=2.2.0 # MIT
16reno>=2.5.0 # Apache-2.0 16reno>=2.5.0 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 1389b5f..7bef5de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,8 +12,8 @@ setenv =
12deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} 12deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
13 -r{toxinidir}/requirements.txt 13 -r{toxinidir}/requirements.txt
14 -r{toxinidir}/test-requirements.txt 14 -r{toxinidir}/test-requirements.txt
15whitelist_externals = bash find 15whitelist_externals = bash
16commands = ostestr --regex '{posargs}' 16commands = stestr run {posargs}
17passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY 17passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
18 18
19[testenv:pep8] 19[testenv:pep8]
@@ -27,7 +27,6 @@ setenv =
27 {[testenv]setenv} 27 {[testenv]setenv}
28 PYTHON=coverage run --source networking_fujitsu --parallel-mode 28 PYTHON=coverage run --source networking_fujitsu --parallel-mode
29commands = 29commands =
30 find networking_fujitsu -type f -name "*.pyc" -delete
31 stestr run {posargs} 30 stestr run {posargs}
32 coverage combine 31 coverage combine
33 coverage report 32 coverage report