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

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

src/i/n/input-lib-HEAD/packages/celery/celery/bin/celerybeat.py   input-lib(Download)
from celery import platform
from celery.log import emergency_error
from celery.beat import ClockService
from celery.utils import info
 

src/i/n/input-lib-HEAD/packages/celery/celery/tests/test_bin/test_celerybeat.py   input-lib(Download)
 
from celery import platform
from celery.beat import ClockService
from celery.bin import celerybeat as beat
 
 
class MockClockService(ClockService):

src/i/n/input-lib-HEAD/packages/celery/celery/tests/test_beat.py   input-lib(Download)
    def test_start(self):
        s = beat.ClockService()
        sh = MockShelve()
        s.open_schedule = lambda *a, **kw: sh