Browse Source

Merge "Switch to using stestr"

tags/1.0.21
Zuul 7 months ago
parent
commit
5c515e3be5
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

@@ -5,3 +5,4 @@ tools/lintstack.head.py
5 5
 *.egg-info/
6 6
 .tox
7 7
 .testrepository
8
+.stestr

+ 3
- 0
.stestr.conf View File

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

+ 1
- 1
test-requirements.txt View File

@@ -14,7 +14,7 @@ testtools>=2.2.0 # MIT
14 14
 testrepository>=0.0.18 # Apache-2.0/BSD
15 15
 testresources>=2.0.0 # Apache-2.0/BSD
16 16
 testscenarios>=0.4 # Apache-2.0/BSD
17
-os-testr>=1.0.0 # Apache-2.0
17
+stestr>=1.0.0 # Apache-2.0
18 18
 tempest>=17.1.0 # Apache-2.0
19 19
 bandit>=1.0.1 # Apache-2.0
20 20
 sphinx!=1.6.6,>=1.6.2 # BSD

+ 1
- 1
tox.ini View File

@@ -21,7 +21,7 @@ deps = -r{toxinidir}/test-requirements.txt
21 21
 commands =
22 22
   find . -type f -name "*.pyc" -delete
23 23
   rm -rf .testrepository/times.dbm
24
-  ostestr {posargs}
24
+  stestr run {posargs}
25 25
 
26 26
 whitelist_externals =
27 27
   bash

Loading…
Cancel
Save