Browse Source

tests: replace .testr.conf with .stestr.conf

In this change [1] os_testr changed under the covers from using
testr to stestr, so that we now get the following warning:

 ostestr.py:120:
 UserWarning: No .stestr.conf file found in the CWD.
 Please create one to to replace the .testr.conf. You can find a
 script to do this in the stestr git repository.

So remove the .testr.conf and add .stestr.conf which was
generated using a utility script as documented here [2].

[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf

TrivialFix

Change-Id: I6bb369624c4a790242022e203e771a77ffe06cf5
Tom Barron 1 year ago
parent
commit
ddccac8dc3
3 changed files with 4 additions and 8 deletions
  1. 1
    0
      .gitignore
  2. 3
    0
      .stestr.conf
  3. 0
    8
      .testr.conf

+ 1
- 0
.gitignore View File

@@ -7,6 +7,7 @@
7 7
 *.swp
8 8
 .manila-venv
9 9
 .coverage
10
+.stestr/*
10 11
 .testrepository
11 12
 .tox
12 13
 .venv

+ 3
- 0
.stestr.conf View File

@@ -0,0 +1,3 @@
1
+[DEFAULT]
2
+test_path=./manila/tests
3
+top_dir=./

+ 0
- 8
.testr.conf View File

@@ -1,8 +0,0 @@
1
-[DEFAULT]
2
-test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
3
-             OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
4
-             OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
5
-             OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
6
-             ${PYTHON:-python} -m subunit.run discover -t ./ ./manila/tests $LISTOPT $IDOPTION
7
-test_id_option=--load-list $IDFILE
8
-test_list_option=--list

Loading…
Cancel
Save