Merge pull request #1663 from aostr/master
Rename the default plugin "pdb" into "debugging"
This commit is contained in:
commit
c519b9517a
|
@ -36,6 +36,8 @@
|
||||||
Thanks `@bagerard`_ for reporting (`#1503`_). Thanks to `@davehunt`_ and
|
Thanks `@bagerard`_ for reporting (`#1503`_). Thanks to `@davehunt`_ and
|
||||||
`@tomviner`_ for PR.
|
`@tomviner`_ for PR.
|
||||||
|
|
||||||
|
* Renamed the pytest ``pdb`` module (plugin) into ``debugging``.
|
||||||
|
|
||||||
*
|
*
|
||||||
|
|
||||||
* ImportErrors in plugins now are a fatal error instead of issuing a
|
* ImportErrors in plugins now are a fatal error instead of issuing a
|
||||||
|
|
|
@ -63,7 +63,7 @@ class UsageError(Exception):
|
||||||
_preinit = []
|
_preinit = []
|
||||||
|
|
||||||
default_plugins = (
|
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 "
|
"tmpdir monkeypatch recwarn pastebin helpconfig nose assertion genscript "
|
||||||
"junitxml resultlog doctest cacheprovider").split()
|
"junitxml resultlog doctest cacheprovider").split()
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ class TestPDB:
|
||||||
pdblist = []
|
pdblist = []
|
||||||
def mypdb(*args):
|
def mypdb(*args):
|
||||||
pdblist.append(args)
|
pdblist.append(args)
|
||||||
plugin = request.config.pluginmanager.getplugin('pdb')
|
plugin = request.config.pluginmanager.getplugin('debugging')
|
||||||
monkeypatch.setattr(plugin, 'post_mortem', mypdb)
|
monkeypatch.setattr(plugin, 'post_mortem', mypdb)
|
||||||
return pdblist
|
return pdblist
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue