Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 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()
Ejemplo n.º 3
0
 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()
Ejemplo n.º 4
0
 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))