예제 #1
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'010')
     self.assertEqual(country.mcc, None)
예제 #2
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'124')
     self.assertEqual(country.numeric, u'124')
예제 #3
0
파일: tests.py 프로젝트: jwhitlock/ichnaea
 def test_numeric_fail(self):
     with pytest.raises(KeyError):
         mobile_codes.numeric("000")
예제 #4
0
파일: tests.py 프로젝트: jwhitlock/ichnaea
 def test_numeric(self):
     country = mobile_codes.numeric("124")
     assert country.numeric == "124"
예제 #5
0
파일: tests.py 프로젝트: jwhitlock/ichnaea
 def test_numeric(self):
     country = mobile_codes.numeric("010")
     assert country.mcc is None
예제 #6
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'124')
     self.assertEqual(country.numeric, u'124')
예제 #7
0
 def test_numeric(self):
     country = mobile_codes.numeric(u'010')
     self.assertEqual(country.mcc, None)