Skip to content

Commit

Permalink
Switch to using stestr
Browse files Browse the repository at this point in the history
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: I847368004d14c2f213d36c602398abfdbfa381cd
Signed-off-by: Charles Short <zulcss@gmail.com>
  • Loading branch information
zulcss committed Jun 3, 2018
1 parent 063fb86 commit 105d89e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .stestr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./designate/tests}
top_dir=./
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD
os-testr>=1.0.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0
testtools>=2.2.0 # MIT
Expand Down
6 changes: 0 additions & 6 deletions tools/pretty_tox.sh

This file was deleted.

5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ passenv = http_proxy
[testenv:py27]
commands =
{[testenv]commands}
sh tools/pretty_tox.sh '{posargs}'
stestr run '{posargs}'
stestr slowest

[testenv:py35]
commands =
{[testenv]commands}
ostestr '{posargs}'
stestr run '{posargs}'

[testenv:docs]
deps =
Expand Down

0 comments on commit 105d89e

Please sign in to comment.