'Test that a user can retrieve the pull requests from a repo.'

def test_pull_requests(self):

    cassette_name = self.cassette_name('pull_requests')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        pulls = list(repository.pull_requests())
    assert (len(pulls) > 0)
    for pull in pulls:
        assert isinstance(pull, github3.pulls.PullRequest)
