1c9a933686
Change-Id: I20ac42f44ebaef8cbcb5d4beda0d4365a45c64f1
564 B
564 B
Unit Tests
Run unit tests in the Congress directory
$ tox -epy27
In order to break into the debugger from a unit test we need to insert a break point to the code:
import pdb; pdb.set_trace()
Then run tox
with the debug environment as one of the
following:
tox -e debug
tox -e debug test_file_name.TestClass.test_name
For more information see the oslotest documentation.