def test_numeric(self): country = mobile_codes.numeric(u'010') self.assertEqual(country.mcc, None)
def test_numeric(self): country = mobile_codes.numeric(u'124') self.assertEqual(country.numeric, u'124')
def test_numeric_fail(self): with pytest.raises(KeyError): mobile_codes.numeric("000")
def test_numeric(self): country = mobile_codes.numeric("124") assert country.numeric == "124"
def test_numeric(self): country = mobile_codes.numeric("010") assert country.mcc is None