def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def test_engine_module_name():
    engine = salt.engines.Engine({}, "foobar.start", {}, {}, {}, {}, name="foobar")
    assert engine.name == "foobar"