Exemplo n.º 1
0
 def testShouldNormalizeNumberWithDotSeparator(self):
     result = normalize("678.839.6663")
     self.assertEqual("6788396663", result)
Exemplo n.º 2
0
 def testShouldNormalizeNumberWithAreaCodeInParens(self):
     result = normalize("(678) 839-6663")
     self.assertEqual("6788396663", result)
Exemplo n.º 3
0
 def testShouldNotNormalizeNone(self):
     self.assertFalse(normalize(None))
Exemplo n.º 4
0
 def testShouldNormalizeNumberWithBackslashSeparator(self):
     result = normalize("678/839/6663")
     self.assertEqual("6788396663", result)