'Verify that the iterModules API will only return top-level modules and
packages, not submodules or subpackages.'

def test_onlyTopModules(self):

    for module in modules.iterModules():
        self.assertFalse(('.' in module.name), ('no    nested    modules    should    be    returned    from    iterModules:    %r' % module.filePath))
