def test_searchSentOn(self):
        """
        L{imap4.IMAP4Server.search_SENTON} returns True if the message date is
        the same as the query date.
        """
        self.assertFalse(
            self.server.search_SENTON(self.earlierQuery, self.seq, self.msg))
        self.assertTrue(
            self.server.search_SENTON(self.sameDateQuery, self.seq, self.msg))
        self.assertFalse(
            self.server.search_SENTON(self.laterQuery, self.seq, self.msg))

        L{imap4.IMAP4Server.search_SENTON} returns True if the message date is
        the same as the query date.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_imap.py