Browse Source

Merge "Switch to using stestr"

Zuul 7 months ago
parent
commit
e5972b7d58
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      lower-constraints.txt
  2. 1
    1
      test-requirements.txt
  3. 3
    3
      tools/ostestr_compat_shim.sh

+ 1
- 1
lower-constraints.txt View File

@@ -60,7 +60,7 @@ openstackdocstheme==1.18.1
60 60
 openstacksdk==0.12.0
61 61
 os-client-config==1.28.0
62 62
 os-service-types==1.2.0
63
-os-testr==1.0.0
63
+stestr==1.0.0
64 64
 osc-lib==1.10.0
65 65
 oslo.concurrency==3.25.0
66 66
 oslo.config==5.2.0

+ 1
- 1
test-requirements.txt View File

@@ -7,7 +7,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
7 7
 ddt>=1.0.1 # MIT
8 8
 docker>=2.4.2 # Apache-2.0
9 9
 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
10
-os-testr>=1.0.0 # Apache-2.0
10
+stestr>=1.0.0 # Apache-2.0
11 11
 oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
12 12
 openstackdocstheme>=1.18.1 # Apache-2.0
13 13
 oslotest>=3.2.0 # Apache-2.0

+ 3
- 3
tools/ostestr_compat_shim.sh View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 # preserve old behavior of using an arg as a regex when '--' is not present
4 4
 case $@ in
5
-    (*--*) ostestr $@;;
6
-    ('') ostestr;;
7
-    (*) ostestr --regex "$@"
5
+    (*--*) stestr run $@;;
6
+    ('') stestr run;;
7
+    (*) stestr run --regex "$@"
8 8
 esac

Loading…
Cancel
Save