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.
Merge pull request #1634 from Ichimonji10/test-contentview

Rewrite ContentViewTestCase