'Test the method ignores invalid pull request states.'

def test_pull_requests_ignore_invalid_state(self):

    i = self.instance.pull_requests(state='invalid')
    self.get_next(i)
    self.session.get.assert_called_once_with(url_for('pulls'), params={'per_page': 100, 'sort': 'created', 'direction': 'desc'}, headers={})
