from tmtccmd.pus.pus_17_test import ( pack_service_17_ping_command, pack_generic_service17_test, ) from tmtccmd.tc.queue import DefaultPusQueueHelper def pack_service_17_commands(op_code: str, q: DefaultPusQueueHelper): if op_code in ["0", "ping"]: q.add_pus_tc(pack_service_17_ping_command()) else: pack_generic_service17_test(q=q)