We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 406392e commit 12096e4Copy full SHA for 12096e4
test/test_pdo.py
@@ -66,7 +66,10 @@ def test_pdo_save(self):
66
67
def test_pdo_save_skip_readonly(self):
68
"""Expect no exception when a record entry is not writable."""
69
+ # Saving only happens with a defined COB ID and for specified parameters
70
self.node.tpdo[1].cob_id = self.node.tpdo[1].predefined_cob_id
71
+ self.node.tpdo[1].trans_type = 1
72
+ self.node.tpdo[1].inhibit_time = 10
73
self.node.tpdo[1].com_record[2].od.access_type = "r"
74
self.node.tpdo[1].save()
75
0 commit comments