Browse Source

Update to stestr

Change-Id: I2b6dac8e58795936d6880bfa21c5715f0184e284
changes/40/677040/1
Alex Schultz 1 month ago
parent
commit
f362e1bc71
2 changed files with 12 additions and 7 deletions
  1. 3
    0
      .stestr.conf
  2. 9
    7
      tox.ini

+ 3
- 0
.stestr.conf View File

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

+ 9
- 7
tox.ini View File

@@ -4,14 +4,16 @@ envlist = py36,py27,pep8
4 4
 skipsdist = True
5 5
 
6 6
 [testenv]
7
-deps = -r{toxinidir}/test-requirements.txt
8 7
 usedevelop = True
9
-install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
10
-commands =
11
-    find . -type f -name "*.py[c|o]" -delete
12
-    ostestr --slowest --regex 'tripleo_common_tempest_plugin.*' {posargs}
13
-
14
-whitelist_externals = find
8
+install_command = pip install {opts} {packages}
9
+deps =
10
+       -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
11
+       -r{toxinidir}/requirements.txt
12
+       -r{toxinidir}/test-requirements.txt
13
+commands = stestr run {posargs}
14
+whitelist_externals =
15
+    bash
16
+    tox
15 17
 
16 18
 [testenv:pep8]
17 19
 basepython = python3

Loading…
Cancel
Save