Rewrite ContentViewTestCase

* Drop an unnecessary `@ddt` decorator.
* Make the test code more straightforward.

Rather magically, the test now succeeds.

    $ nosetests tests/foreman/api/test_contentview.py:ContentViewTestCase
    .
    ----------------------------------------------------------------------
    Ran 1 test in 19.436s

    OK

This fixes a Jenkins failure.
It's a good suggestion.