Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/p/spambayes-1.1b1/spambayes/test/test_sb_pop3dnd.py   spambayes(Download)
from spambayes.classifier import Classifier
from spambayes.message import SBHeaderMessage
from sb_pop3dnd import IMAPMessage, DynamicIMAPMessage, IMAPFileMessage
from sb_pop3dnd import IMAPFileMessageFactory
# We borrow the dummy POP3 server that test_sb_server uses.
    def setUp(self):
        self.msg = IMAPFileMessage("filename", "directory")
    def testID(self):
        self.assertEqual(self.msg.id, "filename")