Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore BinOpAdd BinOpMod Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Assert CompareIn Str Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Num Assert CompareEq SubscriptLoad NameLoad Index Str NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num Assert CompareIn Num AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr Assert CompareNotIn Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad Assert CompareIn Str NameLoad Assert CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq NameLoad ListLoad Str Str Assert CompareEq NameLoad ListLoad Str Str Assert CompareEq NameLoad ListLoad Str Assert CompareEq NameLoad ListLoad Str Str Str Assert CompareEq NameLoad ListLoad Str Str Assert CompareEq NameLoad ListLoad Str decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Num Num Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A os N/A time N/A pytest N/A pyuv gaffer __version__ gaffer.manager Manager gaffer.gafferd.http HttpHandler gaffer.httpclient Server Job Process GafferNotFound GafferConflict gaffer.process ProcessConfig test_manager dummy_cmd N/A TEST_HOST 127.0.0.1 N/A TEST_PORT N/A N/A N/A N/A os getpid 31000 1024 N/A TEST_URI N/A %s:%s N/A TEST_HOST TEST_PORT MockConfig N/A object N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A self set_defaults N/A N/A attrname attrval N/A N/A kwargs items N/A N/A N/A setattr self attrname attrval N/A set_defaults N/A N/A self N/A N/A N/A N/A self webhooks N/A N/A N/A self processes N/A N/A N/A self ssl_options None N/A N/A self client_ssl_options N/A N/A N/A self bind 0.0.0.0:5000 N/A N/A self lookupd_addresses N/A N/A N/A self broadcast_address None N/A N/A self backlog 128 N/A N/A self daemonize False N/A N/A self pidfile None N/A N/A self logfile None N/A N/A self loglevel info N/A N/A self require_key False N/A N/A self auth_backend default N/A N/A self keys_backend default N/A N/A self auth_dbname None N/A N/A self keys_dbname None N/A N/A start_manager N/A N/A N/A N/A N/A http_handler N/A HttpHandler N/A MockConfig bind TEST_URI N/A m N/A Manager N/A N/A N/A m start apps N/A http_handler N/A N/A N/A time sleep 0.2 N/A m N/A get_server N/A N/A loop N/A N/A N/A N/A Server N/A http://%s:%s N/A TEST_HOST TEST_PORT loop loop N/A init N/A N/A N/A N/A N/A m N/A start_manager N/A s N/A get_server N/A m loop N/A N/A m s N/A test_basic N/A N/A N/A N/A N/A m N/A start_manager N/A s N/A get_server N/A m loop N/A N/A N/A s version __version__ N/A N/A N/A m stop N/A N/A N/A m run N/A test_simple_job N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A N/A N/A s jobs N/A N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A N/A N/A m load config start False N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A N/A m jobs 1 N/A N/A N/A len N/A N/A s jobs 1 N/A N/A N/A N/A N/A s jobs N/A 0 default.dummy N/A N/A N/A m stop N/A N/A N/A m run N/A test_job_create N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A N/A N/A s load config start False N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A N/A m jobs 1 N/A N/A N/A len N/A N/A s jobs 1 N/A N/A N/A N/A N/A s jobs N/A 0 default.dummy N/A N/A default.dummy N/A N/A m jobs N/A N/A N/A len N/A m running 0 N/A N/A N/A pytest raises GafferConflict N/A N/A N/A N/A s load config start False N/A job N/A N/A s get_job dummy N/A N/A isinstance job Job N/A N/A N/A m stop N/A N/A N/A m run N/A test_remove_job N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A N/A N/A s load config start False N/A N/A N/A N/A N/A s jobs N/A 0 default.dummy N/A N/A N/A s unload dummy N/A N/A N/A len N/A N/A s jobs 0 N/A N/A N/A len N/A N/A m jobs 0 N/A N/A N/A len N/A m sessions 0 N/A N/A N/A m stop N/A N/A N/A m run N/A test_notfound N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A N/A pytest raises GafferNotFound N/A N/A N/A N/A s get_job dummy N/A N/A N/A m stop N/A N/A N/A m run N/A test_process_start_stop N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A job N/A N/A s load config start False N/A N/A isinstance job Job N/A N/A N/A job start N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A m running 1 N/A info N/A N/A job info N/A N/A N/A info N/A running 1 N/A N/A N/A info N/A active True N/A N/A N/A info N/A max_processes 1 N/A N/A N/A job stop N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A m running 0 N/A N/A N/A job active False N/A N/A N/A s unload dummy N/A N/A N/A len N/A N/A s jobs 0 N/A job N/A N/A s load config start True N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A m running 1 N/A N/A N/A job active True N/A N/A N/A job restart N/A N/A N/A time sleep 0.4 N/A N/A N/A len N/A m running 1 N/A N/A N/A job active True N/A N/A N/A m stop N/A N/A N/A m run N/A test_job_scale N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A job N/A N/A s load config N/A N/A N/A time sleep 0.2 N/A N/A isinstance job Job N/A N/A N/A job active True N/A N/A N/A job numprocesses 1 N/A N/A N/A job scale 3 N/A N/A N/A time sleep 0.2 N/A N/A N/A job numprocesses 4 N/A N/A N/A job running 4 N/A N/A N/A job scale -3 N/A N/A N/A time sleep 0.2 N/A N/A N/A job numprocesses 1 N/A N/A N/A job running 1 N/A N/A N/A m stop N/A N/A N/A m run N/A test_running N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A job N/A N/A s load config N/A N/A N/A time sleep 0.2 N/A N/A N/A len N/A m running 1 N/A N/A N/A len N/A N/A s running 1 N/A N/A 1 N/A m running N/A N/A N/A N/A N/A s running N/A 0 1 N/A N/A N/A m stop N/A N/A N/A m run N/A test_pids N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A N/A N/A s load config N/A N/A N/A time sleep 0.2 N/A job N/A N/A s get_job dummy N/A N/A N/A isinstance job Job True N/A pid N/A N/A s get_process 1 N/A N/A N/A isinstance pid Process True N/A N/A N/A pid pid 1 N/A N/A N/A N/A N/A pid info get name default.dummy N/A N/A N/A pid name default.dummy N/A N/A N/A pid os_pid N/A N/A N/A pid info get os_pid N/A N/A N/A job pids N/A 1 N/A N/A N/A pid stop N/A N/A 1 N/A m running N/A N/A N/A time sleep 0.2 N/A N/A N/A job pids N/A 2 N/A N/A N/A m stop N/A N/A N/A m run N/A test_stats N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir N/A N/A N/A s load config N/A N/A N/A time sleep 0.2 N/A pid N/A N/A s get_process 1 N/A N/A N/A isinstance pid Process True N/A N/A N/A pid pid 1 N/A stats N/A pid stats N/A N/A N/A isinstance stats dict True N/A N/A cpu stats N/A N/A mem_info1 stats N/A N/A N/A pid stop N/A N/A N/A m stop N/A N/A N/A m run N/A test_sessions N/A N/A N/A N/A N/A N/A m s N/A init N/A started N/A N/A stopped N/A cb N/A N/A evtype info N/A N/A N/A N/A evtype start N/A N/A N/A N/A started append N/A info N/A name N/A N/A N/A evtype stop N/A N/A N/A N/A stopped append N/A info N/A name N/A N/A N/A N/A N/A m events subscribe start cb N/A N/A N/A N/A m events subscribe stop cb N/A N/A testfile cmd args wdir N/A dummy_cmd N/A a N/A ProcessConfig a cmd args args cwd wdir N/A b N/A ProcessConfig b cmd args args cwd wdir N/A N/A N/A m load a sessionid ga start False N/A N/A N/A m load b sessionid ga start False N/A N/A N/A m load a sessionid gb start False N/A sessions N/A N/A s sessions N/A ga1 N/A N/A s jobs ga N/A gb1 N/A N/A s jobs gb N/A start_app N/A N/A N/A mgr job N/A N/A N/A job start N/A stop_app N/A N/A N/A mgr job N/A N/A N/A job stop N/A N/A N/A s jobs_walk start_app ga N/A N/A N/A s jobs_walk start_app gb N/A ga2 N/A rem_cb N/A N/A h N/A N/A N/A N/A N/A s unload a sessionid ga N/A N/A N/A N/A ga2 append name N/A name N/A N/A s jobs ga N/A N/A t0 N/A N/A pyuv Timer N/A m loop N/A N/A N/A t0 start rem_cb 0.2 0.0 N/A N/A N/A s jobs_walk stop_app gb stop N/A N/A handle N/A N/A N/A N/A N/A N/A m events unsubscribe start cb N/A N/A N/A N/A m events unsubscribe stop cb N/A N/A N/A m stop N/A N/A t N/A N/A pyuv Timer N/A m loop N/A N/A N/A t start stop 0.6 0.0 N/A N/A N/A m run N/A N/A N/A len sessions 2 N/A N/A sessions N/A ga gb N/A N/A ga1 N/A ga.a ga.b N/A N/A gb1 N/A gb.a N/A N/A started N/A ga.a ga.b gb.a N/A N/A stopped N/A gb.a ga.a N/A N/A ga2 N/A ga.b N/A test_job_notfound N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A N/A pytest raises GafferNotFound N/A N/A N/A N/A s jobs unknown_sessionid N/A N/A N/A m stop N/A N/A N/A m run N/A test_job_commit N/A N/A N/A N/A N/A N/A m s N/A init N/A N/A testfile cmd args wdir N/A dummy_cmd N/A config N/A ProcessConfig dummy cmd args args cwd wdir numprocesses 0 N/A job N/A N/A s load config start False N/A N/A N/A time sleep 0.2 N/A N/A isinstance job Job N/A N/A N/A job active False N/A N/A N/A job numprocesses 0 N/A N/A N/A job running 0 N/A N/A N/A job running_out 0 N/A pid N/A N/A job commit N/A N/A pid 1 N/A N/A N/A N/A s pids N/A 1 N/A N/A N/A job active True N/A N/A N/A job numprocesses 0 N/A N/A N/A job running 1 N/A N/A N/A job running_out 1 N/A state N/A N/A m _get_locked_state dummy N/A N/A N/A len N/A state running 0 N/A N/A N/A state numprocesses 0 N/A N/A N/A len N/A state running_out 1 N/A N/A N/A N/A m pids N/A 1 N/A N/A N/A job scale 1 N/A N/A N/A N/A s pids N/A 1 2 N/A N/A N/A job active True N/A N/A N/A job numprocesses 1 N/A N/A N/A job running 2 N/A N/A N/A job running_out 1 N/A N/A N/A m stop N/A N/A N/A m run N/A N/A N/A __name__ __main__ N/A N/A N/A test_simple_job