'Test with a module missing.
Args:
module: The name of the missing module.
idx: The index where the given text is expected.
expected: The expected text.'

@pytest.mark.parametrize('module,    idx,    expected', [('colorama', 1, 'colorama:    no'), ('cssutils', 6, 'cssutils:    no'), ('typing', 7, 'typing:    no')])
def test_missing_module(self, module, idx, expected, import_fake):

    import_fake.modules[module] = False
    assert (version._module_versions()[idx] == expected)
