Skip to content

Commit

Permalink
check double sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd committed Dec 16, 2024
1 parent 5600c23 commit 01e5e7e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/hub-prod/test-cloud-sync.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,18 @@
"assert http_local.stat().st_size == http_path.stat().st_size"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6ae7cd2b",
"metadata": {},
"outputs": [],
"source": [
"http_local_mtime = http_local.stat().st_mtime\n",
"# no changes here because the file exists already\n",
"assert settings.paths.cloud_to_local(http_path).stat().st_mtime == http_local_mtime"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 01e5e7e

Please sign in to comment.