def test_write_kml(self): d = Domain(4326, "-te 25 70 35 72 -ts 500 500") tmpfilename = os.path.join(ntd.tmp_data_path, 'domain_write_kml.kml') d.write_kml(kmlFileName=tmpfilename) self.assertTrue(os.path.exists(tmpfilename))
def test_write_kml(self): d = Domain(4326, "-te 25 70 35 72 -ts 500 500") tmpfilename = os.path.join(ntd.tmp_data_path, "domain_write_kml.kml") d.write_kml(kmlFileName=tmpfilename) self.assertTrue(os.path.exists(tmpfilename))