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')
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')
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')