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