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 880c4de commit 022ebe0Copy full SHA for 022ebe0
test/test_pdo.py
@@ -64,6 +64,12 @@ def test_pdo_save(self):
64
self.node.tpdo.save()
65
self.node.rpdo.save()
66
67
+ def test_pdo_save_skip_readonly(self):
68
+ """Expect no exception when a record entry is not writable."""
69
+ self.node.tpdo[1].cob_id = self.node.tpdo[1].predefined_cob_id
70
+ self.node.tpdo[1].com_record[2].od.access_type = "r"
71
+ self.node.tpdo[1].save()
72
+
73
def test_pdo_export(self):
74
try:
75
import canmatrix
0 commit comments