Skip to content

Commit 880c4de

Browse files
committed
Switch to a LocalNode in TestPDO to not require a network.
1 parent 44d302e commit 880c4de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_pdo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class TestPDO(unittest.TestCase):
99
def setUp(self):
10-
node = canopen.Node(1, SAMPLE_EDS)
10+
node = canopen.LocalNode(1, SAMPLE_EDS)
1111
pdo = node.pdo.tx[1]
1212
pdo.add_variable('INTEGER16 value') # 0x2001
1313
pdo.add_variable('UNSIGNED8 value', length=4) # 0x2002

0 commit comments

Comments
 (0)