Last active
December 30, 2019 05:59
-
-
Save geeky-sh/54aa30c8034edad859207a831eb26085 to your computer and use it in GitHub Desktop.
Python command line goodies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the below command will start the ipdb debugger as soon as the test fails. this will be really helpful in the cases | |
# where we want to inspect the variables before returning the exception | |
pytest tests/test_views.py::test_user_registration_view -s --pdbcls=IPython.terminal.debugger:TerminalPdb --pdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment