add test fixtures for database-backed tests
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 17
- Forks
- 30
- Merge médio
- 6h 16min
- PRs com merge (30d)
- 9
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de chaoss/CollectOSS
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
chaoss/CollectOSS#548 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
chaoss/CollectOSS#521 ·
Mantenedores costumam responder em até 1 dia
-
mask keys by default when checking API key expiryTalvez já em andamento @iGufrankhan assumiu há 139 dias. Abertachallenging first issue CLI
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
chaoss/CollectOSS#414 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
challenging first issue CLI
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
chaoss/CollectOSS#413 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Output current time alongside API key reset timeTalvez já em andamento @Dipro-cyber assumiu há 145 dias. AbertaCLI good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
chaoss/CollectOSS#412 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de chaoss/CollectOSS
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
mohanraj00/entelos#200 ·
Mantenedores costumam responder em até 1 dia
-
Dead url in mise.tomlAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
-
sweep
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
bketelsen/truenas-mcp#77 ·
Mantenedores costumam responder em até 1 dia
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 86/100
sandbox-quantum/switch#2163 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
openedx/xblock-lti-consumer#765 ·
Mantenedores costumam responder em até 1 dia