add test fixtures for database-backed tests
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 17
- Forks
- 30
- Ø Merge
- 6 Std. 16 Min.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus chaoss/CollectOSS
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
chaoss/CollectOSS#548 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chaoss/CollectOSS#521 ·
Maintainer antworten meist innerhalb von 1 Tag
-
mask keys by default when checking API key expiryEvtl. vergeben @iGufrankhan hat das vor 139 Tagen übernommen. Offenchallenging first issue CLI
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chaoss/CollectOSS#414 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
challenging first issue CLI
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chaoss/CollectOSS#413 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Output current time alongside API key reset timeEvtl. vergeben @Dipro-cyber hat das vor 145 Tagen übernommen. OffenCLI good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chaoss/CollectOSS#412 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in chaoss/CollectOSS
Ähnliche Issues
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
sandbox-quantum/switch#2163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug pydanty:is-working
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
pydantic/pydantic-ai#13939 ·
Maintainer antworten meist innerhalb von 1 Tag
-
priority: low python
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
LearningCircuit/local-deep-research#8849 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
francescopace/espectre#223 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
good first issue Status: Triaged
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
canonical/imagecraft#538 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen