def test_searchWildcard(self):
        """
        L{imap4.IMAP4Server.search_UID} returns True if the message UID is in
        the search range.
        """
        self.assertFalse(
            self.server.search_UID([b'2:3'], self.seq, self.msg, (1, 1234)))
        # 2:* should get translated to 2:<max UID> and then to 1:2
        self.assertTrue(
            self.server.search_UID([b'2:*'], self.seq, self.msg, (1, 1234)))
        self.assertTrue(
            self.server.search_UID([b'*'], self.seq, self.msg, (1, 1234)))

        L{imap4.IMAP4Server.search_UID} returns True if the message UID is in
        the search range.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_imap.py