def METHOD_NAME():
    from kwiver.vital.config import config
    from kwiver.vital.modules import modules
    from kwiver.sprokit.pipeline import pipeline
    from kwiver.sprokit.pipeline import process_factory
    from kwiver.sprokit.pipeline import scheduler_factory
    sched_type = 'python_example'
    sched_desc = 'simple description'
    modules.load_known_modules()
    scheduler_factory.add_scheduler(sched_type, sched_desc, example_scheduler(False))
    p = pipeline.Pipeline()
    proc_type = 'orphan'
    proc_name = 'orphan'
    proc = process_factory.create_process(proc_type, proc_name)
    p.add_process(proc)
    def check_scheduler(s):
        if s is None:
            test_error("Got a 'None' scheduler")
            return
        s.start()
        s.pause()
        s.resume()
        s.stop()
        s.start()
        s.wait()
        del s
    p.reset()
    p.setup_pipeline()
    s = scheduler_factory.create_scheduler(sched_type, p)
    check_scheduler(s)