'Trying to parse an invalid representation of a sequence range raises an
L{IllegalIdentifierError}.'

def test_invalidIdListParser(self):

    inputs = ['*:*', 'foo', '4:', 'bar:5']
    for input in inputs:
        self.assertRaises(imap4.IllegalIdentifierError, imap4.parseIdList, input, 12345)
