diff --git a/openc3/python/openc3/script/commands.py b/openc3/python/openc3/script/commands.py index 5cf6f6ae33..672fe6f40f 100644 --- a/openc3/python/openc3/script/commands.py +++ b/openc3/python/openc3/script/commands.py @@ -108,7 +108,7 @@ def build_cmd(*args, **kwargs): build_command("TGT CMD with PARAM1 val, PARAM2 val") build_command('TGT','CMD',{'PARAM1'=>val,'PARAM2'=>val})""" extract_string_kwargs_to_args(args, kwargs) - return getattr(openc3.script.API_SERVER, "build_command")(*args) + return getattr(openc3.script.API_SERVER, "build_cmd")(*args) # build_command is DEPRECATED diff --git a/openc3/python/test/script/test_commands.py b/openc3/python/test/script/test_commands.py index 6c46e16f38..e9de519bc2 100644 --- a/openc3/python/test/script/test_commands.py +++ b/openc3/python/test/script/test_commands.py @@ -70,7 +70,7 @@ def cmd_no_checks(*args, **kwargs): return "INST", "CLEAR", {} # Duplicate the return in cmd_api.py - def get_command(target_name, cmd_name, scope): + def get_cmd(target_name, cmd_name, scope): return TargetModel.packet(target_name, cmd_name, type="CMD", scope=scope) # Duplicate the return in cmd_api.py