'Test that products with visible=False are in the showfor data.'

def test_all_versions(self):

    prod = ProductFactory()
    VersionFactory(visible=True, product=prod)
    VersionFactory(visible=False, product=prod)
    data = showfor_data([prod])
    eq_(len(data['versions'][prod.slug]), 2)
