'Test with all modules present in version 1.2.3.'

def test_all_present(self, import_fake):

    expected = []
    for name in import_fake.modules:
        if (name in import_fake.no_version_attribute):
            expected.append('{}:    yes'.format(name))
        else:
            expected.append('{}:    1.2.3'.format(name))
    assert (version._module_versions() == expected)
