Browse Source

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: I3e93ad47babbbab8768739faadb0daa44f75a2cb
Signed-off-by: Charles Short <zulcss@gmail.com>
tags/1.1.0^0
Charles Short 1 year ago
parent
commit
eb3187863b
4 changed files with 6 additions and 2 deletions
  1. 1
    0
      .gitignore
  2. 3
    0
      .stestr.conf
  3. 1
    1
      test-requirements.txt
  4. 1
    1
      tox.ini

+ 1
- 0
.gitignore View File

@@ -23,6 +23,7 @@ develop-eggs
23 23
 
24 24
 # Testing artefacts
25 25
 .testrepository
26
+.stestr
26 27
 .tox
27 28
 .venv
28 29
 .coverage

+ 3
- 0
.stestr.conf View File

@@ -0,0 +1,3 @@
1
+[DEFAULT]
2
+test_path=${TESTS_DIR:-./networking_generic_switch/tests/unit/}
3
+top_dir=./

+ 1
- 1
test-requirements.txt View File

@@ -6,7 +6,7 @@
6 6
 mock>=2.0.0 # BSD
7 7
 coverage!=4.4,>=4.0 # Apache-2.0
8 8
 fixtures>=3.0.0 # Apache-2.0/BSD
9
-os-testr>=1.0.0 # Apache-2.0
9
+stestr>=1.0.0 # Apache-2.0
10 10
 
11 11
 # Code analysis/style check requirements
12 12
 # hacking pins flake8 pep8 pyflakes mccabe

+ 1
- 1
tox.ini View File

@@ -18,7 +18,7 @@ deps =
18 18
     -r{toxinidir}/test-requirements.txt
19 19
 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
20 20
 commands =
21
-     ostestr {posargs}
21
+     stestr run {posargs}
22 22
 
23 23
 [testenv:pep8]
24 24
 whitelist_externals = bash

Loading…
Cancel
Save