def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def test_engine_module_name():
    engine = salt.engines.Engine({}, "foobar.start", {}, {}, {}, {}, name="foobar")
    assert engine.name == "foobar"