'Test the ability to list the pages builds.'

def test_pages_builds(self):

    self.basic_login()
    cassette_name = self.cassette_name('pages_builds')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        for build in repository.pages_builds():
            assert isinstance(build, github3.repos.pages.PagesBuild)
