@@ -227,7 +227,7 @@ def toggle_geodiff(enabled):
227227 mc .push_project (project_dir )
228228 if push_geodiff_enabled :
229229 mp .geodiff .create_changeset (mp .fpath (f_updated ), mp .fpath_meta (f_updated ), mp .fpath_meta ('push_diff' ))
230- assert not mp .geodiff .list_changes (mp .fpath_meta ('push_diff' ))
230+ assert not mp .geodiff .has_changes (mp .fpath_meta ('push_diff' ))
231231 else :
232232 assert not os .path .exists (mp .fpath_meta (f_updated ))
233233 # step 2) base.gpkg updated to inserted_1_A_mod (modified 2 features)
@@ -262,7 +262,7 @@ def toggle_geodiff(enabled):
262262 mc .pull_project (project_dir_2 )
263263 if pull_geodiff_enabled :
264264 mp2 .geodiff .create_changeset (mp .fpath (f_updated ), mp2 .fpath (f_updated ), mp2 .fpath_meta ('diff' ))
265- assert not mp2 .geodiff .list_changes (mp2 .fpath_meta ('diff' ))
265+ assert not mp2 .geodiff .has_changes (mp2 .fpath_meta ('diff' ))
266266 else :
267267 server_file_checksum = next ((f ['checksum' ] for f in project_info ['files' ] if f ['path' ] == f_updated ), '' )
268268 assert server_file_checksum == generate_checksum (mp2 .fpath (f_updated ))
@@ -285,6 +285,6 @@ def toggle_geodiff(enabled):
285285 mc .pull_project (project_dir )
286286 if pull_geodiff_enabled :
287287 mp3 .geodiff .create_changeset (mp .fpath (f_updated ), mp3 .fpath (f_updated ), mp .fpath_meta ('diff' ))
288- assert not mp3 .geodiff .list_changes (mp .fpath_meta ('diff' ))
288+ assert not mp3 .geodiff .has_changes (mp .fpath_meta ('diff' ))
289289 else :
290290 assert os .path .exists (mp .fpath ('base.gpkg_conflict_copy' ))
0 commit comments