'Test the ability of a GitHub instance to create a new gist.'

def test_create_gist(self):

    self.token_login()
    cassette_name = self.cassette_name('create_gist')
    with self.recorder.use_cassette(cassette_name):
        g = self.gh.create_gist('Gist    Title', {'filename.py': {'content': '#content'}})
    assert isinstance(g, github3.gists.Gist)
    assert (g.public is True)
