add test fixtures for database-backed tests
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 17
- Forks
- 30
- Merge medio
- 6 h 16 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de chaoss/CollectOSS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
chaoss/CollectOSS#548 ·
Los mantenedores suelen responder en 1 día
-
Ensure privacy policy fields are filled out by CollectOSS maintainers for the default forgesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#521 ·
Los mantenedores suelen responder en 1 día
-
mask keys by default when checking API key expiryPosiblemente ocupada @iGufrankhan la tomó hace 139 días. Abiertochallenging first issue CLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#414 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
challenging first issue CLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#413 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Output current time alongside API key reset timePosiblemente ocupada @Dipro-cyber la tomó hace 145 días. AbiertoCLI good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#412 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de chaoss/CollectOSS
Issues similares
-
HassSetVolumeRelative reports no targets (empty success list) although the volume was changedAbiertointegration: media_player
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
home-assistant/core#193344 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
daniel-ospina/tortoise#13607 ·
Los mantenedores suelen responder en 1 día
-
documentation priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día