Пример #1
0
 def test_003_normalize_board_id(self):
     """ Test normalizing the board id to a string.
     """
     normalized = utils.normalize_board_id(0x123a)
     self.assertEqual(normalized, '0000123a')
Пример #2
0
 def test_005_normalize_board_id(self):
     """ Test normalizing the board id to a string.
     """
     normalized = utils.normalize_board_id('666')
     self.assertEqual(normalized, '666')
Пример #3
0
 def test_002_normalize_board_id(self):
     """ Test normalizing the board id to a string.
     """
     normalized = utils.normalize_board_id(0xffffffff)
     self.assertEqual(normalized, 'ffffffff')