def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def test_engine_module_name():
    engine = salt.engines.Engine({}, "foobar.start", {}, {}, {}, {}, name="foobar")
    assert engine.name == "foobar"