parent
c8de661ef6
commit
84f2d332ce
|
@ -191,10 +191,12 @@ def test_generic(plugintester):
|
||||||
|
|
||||||
def test_plugin_specify(testdir):
|
def test_plugin_specify(testdir):
|
||||||
testdir.chdir()
|
testdir.chdir()
|
||||||
config = testdir.parseconfig("-p", "nqweotexistent")
|
config = py.test.raises(ImportError, """
|
||||||
py.test.raises(ImportError,
|
testdir.parseconfig("-p", "nqweotexistent")
|
||||||
"config.pluginmanager.do_configure(config)"
|
""")
|
||||||
)
|
#py.test.raises(ImportError,
|
||||||
|
# "config.pluginmanager.do_configure(config)"
|
||||||
|
#)
|
||||||
|
|
||||||
def test_plugin_already_exists(testdir):
|
def test_plugin_already_exists(testdir):
|
||||||
config = testdir.parseconfig("-p", "default")
|
config = testdir.parseconfig("-p", "default")
|
||||||
|
|
Loading…
Reference in New Issue