コード例 #1
0
ファイル: test_deck.py プロジェクト: gamamaru6005/ooni-probe
 def test_update_input_store(self):
     self.skipTest("antani")
     yield input_store.update("ZZ")
     print os.listdir(
         os.path.join(self.config.resources_directory,
                      "citizenlab-test-lists"))
     print os.listdir(os.path.join(self.config.inputs_directory))
コード例 #2
0
ファイル: scheduler.py プロジェクト: shivai/ooni-probe
 def task(self):
     log.debug("Updating the inputs")
     yield probe_ip.lookup()
     log.debug("Updating the inputs for country %s" %
               probe_ip.geodata['countrycode'])
     yield resources.check_for_update(probe_ip.geodata['countrycode'])
     yield input_store.update(probe_ip.geodata['countrycode'])
     yield probe_ip.resolveGeodata()
コード例 #3
0
ファイル: scheduler.py プロジェクト: vmon/ooni-probe
 def task(self):
     log.debug("Updating the inputs")
     yield probe_ip.lookup()
     log.debug("Updating the inputs for country %s" %
               probe_ip.geodata['countrycode'])
     yield resources.check_for_update(probe_ip.geodata['countrycode'])
     yield input_store.update(probe_ip.geodata['countrycode'])
     yield probe_ip.resolveGeodata()
コード例 #4
0
ファイル: test_deck.py プロジェクト: TheTorProject/ooni-probe
 def test_update_input_store(self):
     self.skipTest("antani")
     yield input_store.update("ZZ")
     print os.listdir(os.path.join(
         self.config.resources_directory, "citizenlab-test-lists"))
     print os.listdir(os.path.join(self.config.inputs_directory))