def test_get_with_no_support(self):
        """Testing the GET repositories/<id>/commits/ API
        with a repository that does not implement it
        """
        repository = self.create_repository(tool_name='CVS')
        repository.save()

        try:
            rsp = self.api_get(
                get_repository_commits_url(repository),
                query={'start': ''},
                expected_status=501)
        except __HOLE__:
            raise nose.SkipTest("cvs binary not found")

        self.assertEqual(rsp['stat'], 'fail')
        self.assertEqual(rsp['err']['code'], REPO_NOT_IMPLEMENTED.code)
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_repository_commits.py/ResourceTests.test_get_with_no_support