db-sync icon indicating copy to clipboard operation
db-sync copied to clipboard

Fix tests

Open JanCaha opened this issue 2 years ago • 1 comments

Fixes #110

REQUIRES MERGIN-CLIENT that is not yet released !!! Uses the new delete_project_now() function.

add test for init from db

fixes some minor issues in tests from previous versions

JanCaha avatar Oct 06 '23 08:10 JanCaha

Ok, this seems to be ready for being merge:

  • CI now installs according to requirements.txt
  • version of mergin-client raised to 0.9.0
  • fixed some deprecated calls in db-sync (mostly use of MerginProject.metadata)
  • in function _get_mergin_project() we need to strictly reread project metadata for cached projects, otherwise old metadata pop up, even if the mergin.json file has newer info
  • fixed some tests
  • added tests for init_from_db

JanCaha avatar Dec 13 '23 07:12 JanCaha