SatelliteQE/robottelo — pull request #1774 by Ichimonji10 (2014-12-12 20:24:47+00:00)
Title: Skip a test which is failing due to BZ 1173742

Issuing an HTTP GET request to `/api/v2` should return a set of paths in this
format:

{
u'content_views': {
u'…': u'/katello/api/content_views/:id',
u'…': u'/katello/api/content_views/:id/available_puppet_modules',
u'…': u'/katello/api/organizations/:organization_id/content_views',
u'…': u'/katello/api/organizations/:organization_id/content_views',
},
u'…': {…}
}

A response in this format is actually returned:

u'List filters': u'/katello/api/content_views/:content_view_id/filters',
u'List gpg keys': u'/katello/api/gpg_keys',
u'List host collections': u'/katello/api/host_collections',

The above issue occurs only on recent composes. It does not occur in older
composes or upstream (Foreman).

Test result when run against a recent compose:

$ nosetests tests/foreman/smoke/test_api_smoke.py -m test_get_links
.
----------------------------------------------------------------------
Ran 1 test in 1.863s

OK

Test result when run against upstream:

$ nosetests tests/foreman/smoke/test_api_smoke.py -m test_get_links
S
----------------------------------------------------------------------
Ran 1 test in 0.915s

OK (SKIP=1)