def _create_repo(self, n):
        repo = MagicMock(
            html_url='http://test{}.com'.format(n),
            organization=None,
            private=False,
        )
        repo.full_name = 'project {}'.format(n)
        repo.get_hooks.return_value = []
        return repo
Create repo
dataset/ETHPy150Open nvbn/coviolations_web/tools/tests.py/MockGithubMixin._create_repo