add test fixtures for database-backed tests
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Read the existing PRs mentioned for the materialized view comparator and startup behavior to see what database setup they already need. Then inspect the pytest configuration and current test fixtures to identify a reusable way to provide database sessions, including a blank database. Done means database-backed tests can share that fixture system; the issue does not name specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Several areas of the app could use unit testing that is backed by a database fixture:
- testing the materialized view comparator to make sure things work for alembic migrations
- testing the startup behavior to make sure the DB is correctly populated
We should have test fixtures in pytest that can provide database sessions for the tests that need them, even if its just a blank DB.
some work has already started in the respective PRs for the above things, but having a unified/reusable system for it would be nice
- Ngôn ngữ chính
- Python
- Star
- 17
- Fork
- 30
- Merge trung bình
- 6 giờ 16 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của chaoss/CollectOSS
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
chaoss/CollectOSS#548 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Ensure privacy policy fields are filled out by CollectOSS maintainers for the default forgesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#521 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mask keys by default when checking API key expiryCó thể đã có người làm @iGufrankhan đã nhận 139 ngày trước. Đang mởchallenging first issue CLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#414 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
challenging first issue CLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#413 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Output current time alongside API key reset timeCó thể đã có người làm @Dipro-cyber đã nhận 145 ngày trước. Đang mởCLI good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaoss/CollectOSS#412 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của chaoss/CollectOSS
Issue tương tự
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
sandbox-quantum/switch#2163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug pydanty:is-working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pydantic/pydantic-ai#13939 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
LearningCircuit/local-deep-research#8849 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
francescopace/espectre#223 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue Status: Triaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
canonical/imagecraft#538 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày