mentat.services.test_geoip module¶
Unit test module for testing the mentat.services.geoip
module.
-
class
mentat.services.test_geoip.
TestMentatGeoip
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit test class for testing the
mentat.services.geoip
module.-
disabledtest_05_service_manager
()[source]¶ Perform full lookup tests with service obtained by manually configured service manager.
-
disabledtest_06_module_service
()[source]¶ Perform full lookup tests with service obtained by module interface.
-
geoip_test_list
= [['195.113.144.233', {'asn': {'asn': 2852, 'ip': '195.113.144.233', 'org': 'CESNET z.s.p.o.'}, 'city': {'accuracy': 200, 'cnt_code': 'EU', 'cnt_name': 'Europe', 'ctr_code': 'CZ', 'ctr_name': 'Czechia', 'cty_name': 'Olomouc', 'ip': '195.113.144.233', 'timezone': 'Europe/Prague'}, 'country': {'cnt_code': 'EU', 'cnt_name': 'Europe', 'ctr_code': 'CZ', 'ctr_name': 'Czechia', 'ip': '195.113.144.233'}}]]¶
-
verbose
= True¶
-