'Test that the state parameter accets \'all\'.'

def test_issues_accepts_state_all(self):

    cassette_name = self.cassette_name('issues_state_all')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'betamax')
        assert (repository is not None)
        for issue in repository.issues(state='all'):
            assert (issue.state in ('open', 'closed'))
