Fix Easy Unit Tests
@@ -1670,13 +1670,12 @@ class CanToolsDatabaseTest(unittest.TestCase):
self.assertEqual(message_1.is_fd, False)
self.assertEqual(message_1.name, 'Message1')
self.assertEqual(message_1.length, 8)
- self.assertEqual(message_1.senders, [])
+ self.assertSequenceEqual(message_1.senders, ['ECU', 'Peripherals'])
self.assertEqual(message_1.send_type, None)
self.assertEqual(message_1.cycle_time, 30)
self.assertEqual(len(message_1.signals), 2)
self.assertEqual(message_1.comment, 'apa')
self.assertEqual(message_1.bus_name, None)
- self.assertSequenceEqual(message_1.senders, ['ECU', 'Peripherals'])
signal_1 = message_1.signals[0]
self.assertEqual(signal_1.name, 'Signal1')
@@ -1729,14 +1728,13 @@ class CanToolsDatabaseTest(unittest.TestCase):
self.assertEqual(message_2.is_fd, False)
self.assertEqual(message_2.name, 'Message2')
self.assertEqual(message_2.length, 8)
- self.assertEqual(message_2.senders, [])
+ self.assertSequenceEqual(message_2.senders, ['Peripherals'])
self.assertEqual(message_2.send_type, None)
self.assertEqual(message_2.cycle_time, None)
self.assertEqual(len(message_2.signals), 1)
self.assertEqual(message_2.comment, None)
self.assertEqual(message_2.bus_name, None)
self.assertEqual(message_2.is_multiplexed(), False)
- self.assertSequenceEqual(message_2.senders, ['Peripherals'])
signal_3 = message_2.signals[0]
self.assertEqual(signal_3.name, 'Signal3')
@@ -2158,7 +2156,7 @@ class CanToolsDatabaseTest(unittest.TestCase):
self.assertEqual(message.is_fd, False)
self.assertEqual(message.name, 'A/=*')
self.assertEqual(message.length, 8)
- self.assertEqual(message.senders, [])
+ self.assertSequenceEqual(message.senders, ['ECU', 'Peripherals'])
self.assertEqual(message.send_type, None)
self.assertEqual(message.cycle_time, 5)
self.assertEqual(len(message.signals), 6)
