Skip to content

Commit c9cbc56

Browse files
committed
Test read-only mapping array entry as well.
1 parent e74899c commit c9cbc56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_pdo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def test_pdo_save_skip_readonly(self):
6969
# Saving only happens with a defined COB ID and for specified parameters
7070
self.node.tpdo[1].cob_id = self.node.tpdo[1].predefined_cob_id
7171
self.node.tpdo[1].trans_type = 1
72+
self.node.tpdo[1].map_array[1].od.access_type = "r"
7273
self.node.tpdo[1].save()
7374

7475
self.node.tpdo[2].cob_id = self.node.tpdo[2].predefined_cob_id

0 commit comments

Comments
 (0)