def test_load_module(): press = Press("build") commands = press.load_module("vellum.commands") assert "~/.vellum/modules" not in sys.path assert "gen" in commands # make sure that os and others don't show up assert "os" not in commands