Skip to content

Commit 85a4fd9

Browse files
committed
merge master
1 parent ac72515 commit 85a4fd9

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,5 @@ htmlcov
1212
.pytest_cache
1313
deps
1414
venv
15-
<<<<<<< HEAD
16-
.vscode/
17-
=======
1815
debug.py
1916
.vscode/
20-
>>>>>>> master

mergin/test/test_client.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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
743713
def 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

Comments
 (0)