Fix CLI test for ImportError -> NoAppException

This commit is contained in:
Ed Brannin 2017-03-21 16:17:09 -04:00
parent 7a7a163ff1
commit 6e5250ab5d

View file

@ -83,7 +83,7 @@ def test_locate_app(test_apps):
pytest.raises(NoAppException, locate_app, "notanpp.py")
pytest.raises(NoAppException, locate_app, "cliapp/app")
pytest.raises(RuntimeError, locate_app, "cliapp.app:notanapp")
pytest.raises(ImportError, locate_app, "cliapp.importerrorapp")
pytest.raises(NoAppException, locate_app, "cliapp.importerrorapp")
def test_find_default_import_path(test_apps, monkeypatch, tmpdir):