def test_create_milestone(self):
        self.token_login()
        cassette_name = self.cassette_name('create_milestone')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            milestone = repository.create_milestone('foo')

        assert isinstance(milestone, github3.issues.milestone.Milestone)
Test the ability to create a milestone on a repository.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_create_milestone