'Test the ability to create a milestone on a repository.'

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)
