feat: 采样点图层字段改为中文名
This commit is contained in:
@@ -59,7 +59,7 @@ class SampleMergeTests(unittest.TestCase):
|
||||
self.assertEqual(result["feature_count"], 1)
|
||||
conn = sqlite3.connect(root / "采样点图层.gpkg")
|
||||
try:
|
||||
row = conn.execute('select "mro_total_dl","mro_total_gd","mro_total_yd","总采样点数" from "采样点图层"').fetchone()
|
||||
row = conn.execute('select "电联采样点","广电采样点","移动采样点","总采样点数" from "采样点图层"').fetchone()
|
||||
finally:
|
||||
conn.close()
|
||||
self.assertEqual(row, (14, 7, 108, 129))
|
||||
|
||||
@@ -225,7 +225,7 @@ class TaskIntegrationTest(unittest.TestCase):
|
||||
sample_path.write_bytes(archive.read("采样点图层.gpkg"))
|
||||
sample_conn = sqlite3.connect(sample_path)
|
||||
try:
|
||||
totals = {row[-1] for row in sample_conn.execute('select "mro_total_dl","mro_total_gd","mro_total_yd","总采样点数" from "采样点图层"')}
|
||||
totals = {row[-1] for row in sample_conn.execute('select "电联采样点","广电采样点","移动采样点","总采样点数" from "采样点图层"')}
|
||||
finally:
|
||||
sample_conn.close()
|
||||
if name == "31-甲.zip":
|
||||
|
||||
Reference in New Issue
Block a user