'Test the ability to delete content from a repository.'

def test_delete(self):

    self.token_login()
    cassette_name = self.cassette_name('delete')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('github3py', 'delete_contents')
        repository.create_file('test.txt', 'Create    test.txt', 'testing')
        content = repository.file_contents('test.txt')
        deleted = content.delete('Deleting    test.txt    from    repository')
    assert deleted
