def test_localization(self): field = CepField() self.assertEqual('', field.localize('')) self.assertEqual('', field.localize(None)) self.assertEqual('12345-678', field.localize('12345678'))
def test_localization(self): field = CepField() self.assertEqual("", field.localize("")) self.assertEqual("", field.localize(None)) self.assertEqual("12345-678", field.localize("12345678"))