def test_pids():
    m, ctl, config = init()
    m.load(config)
    cmd = TestCommand("pids")
    ctl.process_command(cmd)
    m.stop()
    m.run()

    assert isinstance(cmd.result, dict)
    assert cmd.result in "pids"
    assert cmd.result['pids'] == [1]
dataset/ETHPy150Open benoitc/gaffer/test/test_controller.py/test_pids/swapped operands of `in`