Skip to content

Commit 12096e4

Browse files
committed
Specify parameters to have the test not skip them.
1 parent 406392e commit 12096e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_pdo.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ def test_pdo_save(self):
6666

6767
def test_pdo_save_skip_readonly(self):
6868
"""Expect no exception when a record entry is not writable."""
69+
# Saving only happens with a defined COB ID and for specified parameters
6970
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
7073
self.node.tpdo[1].com_record[2].od.access_type = "r"
7174
self.node.tpdo[1].save()
7275

0 commit comments

Comments
 (0)