Renamed the pdb module and changed unit tests accordingly
This commit is contained in:
parent
05b5554cac
commit
9a5224e2f8
|
@ -36,6 +36,8 @@
|
|||
Thanks `@bagerard`_ for reporting (`#1503`_). Thanks to `@davehunt`_ and
|
||||
`@tomviner`_ for PR.
|
||||
|
||||
* Renamed the pytest ``pdb`` module (plugin) into ``debugging``.
|
||||
|
||||
*
|
||||
|
||||
*
|
||||
|
|
|
@ -63,7 +63,7 @@ class UsageError(Exception):
|
|||
_preinit = []
|
||||
|
||||
default_plugins = (
|
||||
"mark main terminal runner python pdb unittest capture skipping "
|
||||
"mark main terminal runner python debugging unittest capture skipping "
|
||||
"tmpdir monkeypatch recwarn pastebin helpconfig nose assertion genscript "
|
||||
"junitxml resultlog doctest cacheprovider").split()
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ class TestPDB:
|
|||
pdblist = []
|
||||
def mypdb(*args):
|
||||
pdblist.append(args)
|
||||
plugin = request.config.pluginmanager.getplugin('pdb')
|
||||
plugin = request.config.pluginmanager.getplugin('debugging')
|
||||
monkeypatch.setattr(plugin, 'post_mortem', mypdb)
|
||||
return pdblist
|
||||
|
||||
|
|
Loading…
Reference in New Issue