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 19:35:38 +02:00
2026-05-30 18:57:02 +02:00
2026-05-25 18:48:32 +02:00
2026-05-23 20:05:34 +02:00
2026-05-25 18:30:28 +02:00
2026-05-28 21:00:48 +02:00
2026-05-30 11:58:01 +02:00
2026-05-30 11:16:01 +02:00
2026-05-30 23:12:24 +02:00
2026-05-24 11:30:56 +02:00
2026-05-25 18:50:50 +02:00
2026-05-28 20:48:38 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 00:45:14 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 09:14:27 +02:00