def testShouldNormalizeNumberWithDotSeparator(self): result = normalize("678.839.6663") self.assertEqual("6788396663", result)
def testShouldNormalizeNumberWithAreaCodeInParens(self): result = normalize("(678) 839-6663") self.assertEqual("6788396663", result)
def testShouldNotNormalizeNone(self): self.assertFalse(normalize(None))
def testShouldNormalizeNumberWithBackslashSeparator(self): result = normalize("678/839/6663") self.assertEqual("6788396663", result)