'Show that a user can retrieve deployment statuses.'

def test_statuses(self):

    cassette_name = self.cassette_name('statuses')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        deployment = find((lambda d: (d.id == 801)), repository.deployments())
        assert (deployment is not None)
        statuses = list(deployment.statuses(5))
    for status in statuses:
        assert isinstance(status, github3.repos.deployment.DeploymentStatus)
