summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Short <zulcss@gmail.com>2018-06-07 05:39:49 -0400
committerGrzegorz Grasza <xek@redhat.com>2018-10-24 14:00:31 +0200
commit769ed3329b665d12b4516f6939622d80e4b12d25 (patch)
treefcbc1d152a927d0656e574f69a63ac6d3ef2c212
parent0b05c9538882b662a749b1c2d0cd9ed559554b03 (diff)
Switch to using stestr
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: I36b48654747209470ac3ed2fcbc9e34e277a0445 Signed-off-by: Charles Short <zulcss@gmail.com>
Notes
Notes (review): Code-Review+1: Vu Cong Tuan <tuanvc@vn.fujitsu.com> Code-Review+1: Grzegorz Grasza <xek@redhat.com> Code-Review+2: Juan Antonio Osorio Robles <jaosorior@redhat.com> Code-Review+2: Ade Lee <alee@redhat.com> Workflow+1: Ade Lee <alee@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 31 Oct 2018 15:04:07 +0000 Reviewed-on: https://review.openstack.org/573154 Project: openstack/novajoin 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 a9621d7..6c4bce4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ tools/lintstack.head.py
5*.egg-info/ 5*.egg-info/
6.tox 6.tox
7.testrepository 7.testrepository
8.stestr
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 0000000..7564a2b
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,3 @@
1[DEFAULT]
2test_path=${OS_TEST_PATH:-./novajoin/tests}
3top_dir=./
diff --git a/test-requirements.txt b/test-requirements.txt
index 5141ba1..a0ff2b4 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14,7 +14,7 @@ testtools>=2.2.0 # MIT
14testrepository>=0.0.18 # Apache-2.0/BSD 14testrepository>=0.0.18 # Apache-2.0/BSD
15testresources>=2.0.0 # Apache-2.0/BSD 15testresources>=2.0.0 # Apache-2.0/BSD
16testscenarios>=0.4 # Apache-2.0/BSD 16testscenarios>=0.4 # Apache-2.0/BSD
17os-testr>=1.0.0 # Apache-2.0 17stestr>=1.0.0 # Apache-2.0
18tempest>=17.1.0 # Apache-2.0 18tempest>=17.1.0 # Apache-2.0
19bandit>=1.0.1 # Apache-2.0 19bandit>=1.0.1 # Apache-2.0
20sphinx!=1.6.6,>=1.6.2 # BSD 20sphinx!=1.6.6,>=1.6.2 # BSD
diff --git a/tox.ini b/tox.ini
index 522aaa8..74f640b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,7 @@ deps = -r{toxinidir}/test-requirements.txt
21commands = 21commands =
22 find . -type f -name "*.pyc" -delete 22 find . -type f -name "*.pyc" -delete
23 rm -rf .testrepository/times.dbm 23 rm -rf .testrepository/times.dbm
24 ostestr {posargs} 24 stestr run {posargs}
25 25
26whitelist_externals = 26whitelist_externals =
27 bash 27 bash