Ejemplo n.º 1
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'010')
     self.assertEqual(country.mcc, None)
Ejemplo n.º 2
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'124')
     self.assertEqual(country.numeric, u'124')
Ejemplo n.º 3
0
 def test_numeric_fail(self):
     with pytest.raises(KeyError):
         mobile_codes.numeric("000")
Ejemplo n.º 4
0
 def test_numeric(self):
     country = mobile_codes.numeric("124")
     assert country.numeric == "124"
Ejemplo n.º 5
0
 def test_numeric(self):
     country = mobile_codes.numeric("010")
     assert country.mcc is None
Ejemplo n.º 6
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'124')
     self.assertEqual(country.numeric, u'124')
Ejemplo n.º 7
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'010')
     self.assertEqual(country.mcc, None)