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

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

        def main():
    ev = events()
    ev.execute_from_commandline()
        


src/c/e/celery-HEAD/celery/tests/bin/test_events.py   celery(Download)
    def test_main(self):
        MockCommand.executed = []
        events.main()
        self.assertTrue(MockCommand.executed)
 

src/c/e/celery-3.1.11/celery/tests/bin/test_events.py   celery(Download)
    def test_main(self):
        MockCommand.executed = []
        events.main()
        self.assertTrue(MockCommand.executed)