'Test with a fake Windows.'

def test_windows_fake(self, monkeypatch):

    monkeypatch.setattr(version.sys, 'platform', 'win32')
    monkeypatch.setattr(version.platform, 'win32_ver', (lambda : ('eggs', 'bacon', 'ham', 'spam')))
    ret = version._os_info()
    expected = ['OS    Version:    eggs,    bacon,    ham,    spam']
    assert (ret == expected)
