Ensure no buckets are leaking in integration tests

Abierto
#350 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
214
Forks
68
Merge medio
51 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Backblaze/b2-sdk-python

Todos los issues de Backblaze/b2-sdk-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.