def test_re_pad(self):
    for i in [' ', '*']:
        self.db.set_re_pad(i)
        self.assertEqual(ord(i), self.db.get_re_pad())
    for i in [97, 65]:
        self.db.set_re_pad(i)
        self.assertEqual(i, self.db.get_re_pad())
def test_re_pad(self):
    for i in [' ', '*']:
        self.db.set_re_pad(i)
        self.assertEqual(ord(i), self.db.get_re_pad())
    for i in [97, 65]:
        self.db.set_re_pad(i)
        self.assertEqual(i, self.db.get_re_pad())