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/d/j/django-noticebox-0.1/noticebox/tests/test_handlers.py   django-noticebox(Download)
 
from django.core.mail.backends.locmem import EmailBackend as LocMemEmailBackend
 
from noticebox.handlers import EmailHandler, DatabaseHandler, user_notice
from noticebox.models import Notice
    def create_handler(self, **kwargs):
        return EmailHandler(**kwargs)
 
    def test_send_to_empty_list(self):
        handler = self.create_handler()