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

All Samples(7)  |  Call(1)  |  Derive(0)  |  Import(6)

src/m/e/mediadrop-HEAD/mediadrop/lib/helpers.py   mediadrop(Download)
    excerpt_xhtml, line_break_xhtml, list_acceptable_xhtml, strip_xhtml,
    truncate_xhtml)
from mediadrop.plugin.events import (meta_description, meta_keywords,
    meta_robots_noindex, observes, page_title)
 

src/m/e/mediadrop-HEAD/mediadrop/lib/filetypes.py   mediadrop(Download)
 
from mediadrop.lib.i18n import _
from mediadrop.plugin.events import (media_types as registered_media_types,
    observes)
 

src/m/e/mediadrop-HEAD/mediadrop/plugin/tests/observes_test.py   mediadrop(Download)
from mediadrop.lib.test.pythonic_testcase import *
 
from mediadrop.plugin.events import Event, observes
 
 
class ObserveDecoratorTest(PythonicTestCase):
 
    def test_catches_unknown_keyword_parameters_in_constructor(self):
        e = assert_raises(TypeError, lambda: observes(Event(), invalid=True))

src/m/e/mediadrop-HEAD/mediadrop/model/tests/media_test.py   mediadrop(Download)
from mediadrop.lib.test.pythonic_testcase import *
from mediadrop.plugin import events
from mediadrop.plugin.events import observes
 
 

src/m/e/mediadrop-HEAD/mediadrop/model/tests/media_status_test.py   mediadrop(Download)
from mediadrop.lib.test.pythonic_testcase import *
from mediadrop.plugin import events
from mediadrop.plugin.events import observes
 
#import logging

src/m/e/mediadrop-HEAD/mediadrop/lib/tests/observable_test.py   mediadrop(Download)
from mediadrop.lib.test.pythonic_testcase import *
 
from mediadrop.plugin.events import Event, observes
from mediadrop.lib.decorators import observable