API Content Views with yum repo test cases - issue #1265

implements 4 tests cases - issue #1265 

all 4 tests are ok 

I think could be simplified to `self.yum_repo.sync()`