Unable to run unit tests with regex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ tox -epy27 kuryr_libnetwor
...
py27 runtests: commands[0] | find . -type f -name '*.py[c|o]' -delete
py27 runtests: commands[1] | /opt/stack/
usage: stestr run [-h] [--failing] [--serial] [--concurrency CONCURRENCY]
stestr run: error: unrecognized arguments: --regex
ERROR: InvocationError for command '/opt/stack/
_______
ERROR: py27: commands failed
Reviewed: https:/ /review. openstack. org/613813 /git.openstack. org/cgit/ openstack/ kuryr-libnetwor k/commit/ ?id=755e7c0c48b 31581add281fa05 0d2bf975e424ea
Committed: https:/
Submitter: Zuul
Branch: master
commit 755e7c0c48b3158 1add281fa050d2b f975e424ea
Author: Hongbin Lu <email address hidden>
Date: Sun Oct 28 21:19:58 2018 +0000
Fix an issue on running subset of tests
It broke after the switching to stestr [1] since stestr doesn't
have the --regex arguments.
[1] https:/ /review. openstack. org/#/c/ 571471/
Change-Id: Ied13d3c370bba2 a18cd54edae0dc8 0050e87f07e
Closes-Bug: #1800387