Skip to content
Snippets Groups Projects
Commit a940958a authored by Jan Gerhards's avatar Jan Gerhards
Browse files

remove unnecessary tests for service 20

parent a0bc2793
No related branches found
No related tags found
No related merge requests found
......@@ -29,32 +29,6 @@ def pack_service20_test_into(tc_queue: Deque, called_externally: bool = False) -
command = PusTelecommand(service=200, subservice=1, ssc=2000, app_data=mode_data)
tc_queue.appendleft(command.pack_command_tuple())
#test invalid subservice
#use subservice 130 for invalid subservice check, as this is in use for dump reply
#(and therefore will never be a valid subservice)
#tc_queue.appendleft(("print", "Testing Service 20: Invalid subservice"))
#mode_data = pack_mode_data(object_id, 2, 0)
#command = PusTelecommand(service=20, subservice=130, ssc=810, app_data=mode_data)
#tc_queue.appendleft(command.pack_command_tuple())
#test invalid objectid //TODO: do we have an objectid known to be empty (even in future)?
#tc_queue.appendleft(("print", "Testing Service 20: Invalid object ID"))
#mode_data = pack_mode_data(object_id, 2, 0)
#command = PusTelecommand(service=20, subservice=128, ssc=810, app_data=mode_data)
#tc_queue.appendleft(command.pack_command_tuple())
#test invalid parameterID for load
#tc_queue.appendleft(("print", "Testing Service 20: Invalid parameter ID for load"))
#mode_data = pack_mode_data(object_id, 2, 0)
#command = PusTelecommand(service=20, subservice=128, ssc=810, app_data=mode_data)
#tc_queue.appendleft(command.pack_command_tuple())
#test invalid parameterID for dump
#tc_queue.appendleft(("print", "Testing Service 20: Invalid parameter ID for dump"))
#mode_data = pack_mode_data(object_id, 2, 0)
#command = PusTelecommand(service=20, subservice=129, ssc=810, app_data=mode_data)
#tc_queue.appendleft(command.pack_command_tuple())
#test checking Load for uint32_t
tc_queue.appendleft(("print", "Testing Service 20: Load uint32_t"))
parameter_id = struct.pack(">I", parameterID0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment