fix the loaction of api/v2 file.
According to structure of tests file, we know api/v2 be in functional directory, test_bin be in unit directory. Change-Id: If1e7bfb756516b6c0f79732cabd576750cce9a44
This commit is contained in:
parent
08075d07aa
commit
fb686eb95b
@ -41,15 +41,15 @@ run through tox_.
|
||||
As tox is a wrapper around testr, it also accepts the same flags as testr.
|
||||
See the `testr documentation`_ for details about these additional flags.
|
||||
|
||||
Use a double hyphen to pass options to testr. For example, to run only tests under tests/api/v2::
|
||||
Use a double hyphen to pass options to testr. For example, to run only tests under tests/functional/api/v2::
|
||||
|
||||
$ tox -e py27 -- api.v2
|
||||
$ tox -e py27 -- functional.api.v2
|
||||
|
||||
To debug tests (ie. break into pdb debugger), you can use ''debug'' tox
|
||||
environment. Here's an example, passing the name of a test since you'll
|
||||
normally only want to run the test that hits your breakpoint::
|
||||
|
||||
$ tox -e debug aodh.tests.test_bin
|
||||
$ tox -e debug aodh.tests.unit.test_bin
|
||||
|
||||
For reference, the ``debug`` tox environment implements the instructions
|
||||
here: https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests
|
||||
|
Loading…
Reference in New Issue
Block a user