def register_team_repo_add(self, body):
        httpretty.register_uri(
            httpretty.PUT,
            re.compile(
                r'^{url}teams/\d+/repos/{org}/({repo}|{rerun_repo})$'.format(
                    url=self.URL,
                    org=self.ORG,
                    repo=re.escape(self.TEST_REPO),
                    rerun_repo=re.escape(self.TEST_RERUN_REPO)
                )
            ),
            body=body
        )
Register team repo addition.
dataset/ETHPy150Open mitodl/orcoursetrion/orcoursetrion/tests/base.py/TestGithubBase.register_team_repo_add