Update test_database.py
Update test_foobar test case
@@ -182,29 +182,29 @@ class CanToolsDatabaseTest(unittest.TestCase):
"node('FUM', None)\n"
"\n"
"message('Foo', 0x12330, True, 8, 'Foo.')\n"
- " signal('Foo', 0, 12, 'big_endian', True, 0.01, "
+ " signal('Foo', 0, 12, 'big_endian', True, None, 0.01, "
"250, 229.53, 270.47, 'degK', False, None, None, None)\n"
- " signal('Bar', 24, 32, 'big_endian', True, 0.1, "
+ " signal('Bar', 24, 32, 'big_endian', True, None, 0.1, "
"0, 0, 5, 'm', False, None, None, 'Bar.')\n"
"\n"
"message('Fum', 0x12331, True, 5, None)\n"
- " signal('Fum', 0, 12, 'little_endian', True, 1, 0, 0, 10, "
+ " signal('Fum', 0, 12, 'little_endian', True, None, 1, 0, 0, 10, "
"'None', False, None, None, None)\n"
- " signal('Fam', 12, 12, 'little_endian', True, 1, 0, "
+ " signal('Fam', 12, 12, 'little_endian', True, None, 1, 0, "
"0, 8, 'None', False, None, {1: \'Enabled\', 0: \'Disabled\'}, None)\n"
"\n"
"message('Bar', 0x12332, True, 4, None)\n"
- " signal('Binary32', 0, 32, 'little_endian', True, 1, 0, None, "
+ " signal('Binary32', 0, 32, 'little_endian', True, None, 1, 0, None, "
"None, 'None', False, None, None, None)\n"
"\n"
"message('CanFd', 0x12333, True, 64, None)\n"
- " signal('Fie', 0, 64, 'little_endian', False, 1, 0, None, None, "
+ " signal('Fie', 0, 64, 'little_endian', False, None, 1, 0, None, None, "
"'None', False, None, None, None)\n"
- " signal('Fas', 64, 64, 'little_endian', False, 1, 0, None, None, "
+ " signal('Fas', 64, 64, 'little_endian', False, None, 1, 0, None, None, "
"'None', False, None, None, None)\n"
"\n"
"message('FOOBAR', 0x30c, False, 8, None)\n"
- " signal('ACC_02_CRC', 0, 12, 'little_endian', True, 1, 0, 0, 1, "
+ " signal('ACC_02_CRC', 0, 12, 'little_endian', True, None, 1, 0, 0, 1, "
"'None', False, None, None, None)\n")
message = db.get_message_by_frame_id(0x12331)
