diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:40:05 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:40:05 +0200 |
| commit | aed32f20625a6206628b577d743d96552f81e91a (patch) | |
| tree | af2eaf3336804f2e4af37445326e52a19b2af169 /packages/meshbay-hub/tests/test_photo_sync_ui.py | |
| parent | 2f2a9a6542d2194e50ffba6f382e4fdffd481838 (diff) | |
| download | meshbay-aed32f20625a6206628b577d743d96552f81e91a.tar.gz | |
feat(android): back text messages up, in a build Play does not get
A Messages section sends the SMS added since the last copy, as restorable
<smses> XML, into <folder>/<account>-messages/YYYY. A play flavor has neither
READ_SMS nor the code that reads messages; full is the default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_photo_sync_ui.py')
| -rw-r--r-- | packages/meshbay-hub/tests/test_photo_sync_ui.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_photo_sync_ui.py b/packages/meshbay-hub/tests/test_photo_sync_ui.py index bcd26c8..b101310 100644 --- a/packages/meshbay-hub/tests/test_photo_sync_ui.py +++ b/packages/meshbay-hub/tests/test_photo_sync_ui.py @@ -57,7 +57,7 @@ def test_limited_access_is_said_rather_than_failing_quietly(probe): def test_where_backups_go_lists_each_kinds_folder(probe): text = probe["dest360"]["text"] - assert "Media/bob-photos" in text and "Media/bob-contacts" in text + assert all(f"Media/bob-{k}" in text for k in ("photos", "contacts", "messages")) def test_photos_the_photos_tab_will_not_show_are_said(probe): @@ -66,3 +66,7 @@ def test_photos_the_photos_tab_will_not_show_are_said(probe): def test_the_contacts_backup_says_where_its_copies_go(probe): assert "bob-contacts/contacts-2026-10-10-0900.vcf" in probe["configured360"]["text"] + + +def test_the_messages_backup_says_where_its_copies_go(probe): + assert "bob-messages/2026/sms-2026-10-10-0900.xml" in probe["configured360"]["text"] |