def it_imports_call_modules():

    # Clear out all ubersmith submodules, so reload() below doesn't reuse them
    for name in list(sys.modules):
        if name.startswith('ubersmith.') or name == 'ubersmith':
            del sys.modules[name]

    # Load module afresh
    import ubersmith
    ubersmith = reload_module(ubersmith)

    for name in ubersmith.__all__:
        assert hasattr(ubersmith, name)
Ensure ubersmith.xyz is available if we just import ubersmith
dataset/ETHPy150Open jasonkeene/python-ubersmith/tests/test_init.py/it_imports_call_modules