示例#1
0
 def test_mask_invalid_cnpj(self):
     self.assertFalse(cnpj.validate(mask.mask_cpf_cnpj(self.invalid_cnpj)))
示例#2
0
 def test_mask_invalid_cnpj_str(self):
     self.assertTrue(mask.mask_cpf_cnpj(self.invalid_cnpj_str) == '1234')
示例#3
0
 def test_mask_valid_cnpj(self):
     self.assertTrue(cnpj.validate(mask.mask_cpf_cnpj(self.valid_cnpj)))