def test_load_distribution():

    Distribution = namedtuple('Distribution', ['project_name'])

    assert import_package(Distribution('base')).m.App is not App

    with pytest.raises(morepath.error.AutoImportError):
        import_package(Distribution('inexistant-package'))
dataset/ETHPy150Open morepath/morepath/morepath/tests/test_autosetup.py/test_load_distribution/operator `is` -> `is not`