@@ -710,36 +710,6 @@ def test_force_gpkg_update(mc):
710710 assert "diff" not in f_remote
711711
712712
713- < << << << HEAD
714- def test_new_project_sync (mc ):
715- """Create a new project, download it, add a file and then do sync - it should not fail"""
716-
717- test_project = "test_new_project_sync"
718- project = create_project_path (test_project , mc )
719- project_dir = os .path .join (TMP_DIR , test_project ) # primary project dir for updates
720-
721- cleanup (mc , project , [project_dir ])
722- # create remote project
723- mc .create_project (test_project )
724-
725- # download the project
726- mc .download_project (project , project_dir )
727-
728- # add a test file
729- shutil .copy (os .path .join (TEST_DATA_DIR , "test.txt" ), project_dir )
730-
731- # do a full sync - it should not fail
732- mc .pull_project (project_dir )
733- mc .push_project (project_dir )
734-
735- # make sure everything is up-to-date
736- mp = MerginProject (project_dir )
737- local_changes = mp .get_push_changes ()
738- assert not local_changes ["added" ] and not local_changes ["removed" ] and not local_changes ["updated" ]
739-
740-
741- == == == =
742- >> >> >> > master
743713def test_missing_basefile_pull (mc ):
744714 """Test pull of a project where basefile of a .gpkg is missing for some reason
745715 (it should gracefully handle it by downloading the missing basefile)
0 commit comments