Ensure no buckets are leaking in integration tests

Aberta
#350 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
45/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
testing-qa

Direção de pesquisa

Start with the BucketTrackingMixin referenced in the issue and the integration test suite under test/integration, which the issue implies but does not name exactly. Check which tests create buckets and where teardown currently runs, then apply the mixin so every created bucket is deleted at teardown. Pull request 237 in reef-technologies/b2-sdk-python is cited as the suggested approach, so read it first. Done means a test run leaves no buckets behind.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Use BucketTrackingMixin in integration tests to track created buckets and ensure their deletion during test teardown as suggested in https://github.com/reef-technologies/b2-sdk-python/pull/237.

Linguagem predominante
Python
Estrelas
214
Forks
68
Merge médio
51min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Backblaze/b2-sdk-python

Todas as issues de Backblaze/b2-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.