curo1305
9973f42f98
feat(6.1-01): replace 7 xfail stubs with real share tests (SHARE-01..05)
- Remove all 7 @pytest.mark.xfail decorators and pytest.xfail() calls
- Remove unused 'import os'
- Add module-level pytestmark = pytest.mark.asyncio
- Add _make_doc() helper: creates uploaded Document row via ORM
- test_share_success: POST grants share, recipient sees doc in /received
- test_share_handle_not_found: unknown handle returns 404
- test_shared_with_me: metadata fields present, extracted_text absent (T-04-04-03)
- test_share_no_quota_impact: recipient used_bytes stays 0 (T-04-04-04)
- test_revoke_share: DELETE 204, doc gone from recipient /received
- test_share_revoke_wrong_owner_404: IDOR protection, 404 not 403 (T-04-04-02)
- test_share_duplicate: second share of same doc+recipient returns 409
- All 7 tests verified passing in Docker (pytest 9.0.3)
2026-05-30 23:12:24 +02:00
..
2026-05-22 08:53:28 +02:00
2026-05-30 23:09:39 +02:00
2026-05-30 11:37:12 +02:00
2026-05-23 13:42:37 +02:00
2026-05-25 18:25:18 +02:00
2026-05-25 18:50:52 +02:00
2026-05-22 19:25:16 +02:00
2026-05-22 19:52:36 +02:00
2026-05-30 11:43:48 +02:00
2026-05-28 21:06:14 +02:00
2026-05-28 20:58:40 +02:00
2026-05-30 18:04:09 +02:00
2026-05-30 18:56:58 +02:00
2026-05-22 08:53:28 +02:00
2026-05-28 17:10:52 +02:00
2026-05-22 09:53:39 +02:00
2026-05-28 17:10:52 +02:00
2026-05-23 14:32:12 +02:00
2026-05-25 18:25:18 +02:00
2026-05-23 20:32:55 +02:00
2026-05-30 23:12:24 +02:00
2026-05-30 18:56:58 +02:00
2026-05-22 19:19:52 +02:00
2026-05-22 19:23:42 +02:00
2026-05-23 20:15:44 +02:00
2026-05-28 21:07:18 +02:00