Test cleanups after the 2.0 fix PRs

Abierto Apto para principiantes
#464 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@shcheklein ya está trabajando en esto.

Desde el 5/12/2026.

  • #466 de @shcheklein — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
65/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
testing

Línea de trabajo

Lee el fixture service_auth en test_fs.py y compara después los wrappers Get_Http_Object y monkeypatch añadidos por los PRs #453 y #456. Consolida el fixture duplicado de tráfico HTTP en vivo cuando se haya fusionado el lote de PRs de correcciones 2.0; se considera terminado cuando las pruebas comparten un único fixture y siguen observando el tráfico HTTP en vivo.

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

Descripción

Test cleanups that the reviews of the 2.0 fix PRs (#450–#463) asked for. Each one touches files that several of those PRs change. Doing them inside the PRs would make every merge conflict with the next, so they wait until the batch is merged.

  • One fixture that observes the live HTTP traffic of service_auth. Today lose_answers (test_fs.py) has it, and #453 (sent_requests) and #456 (downloads) each add a copy of the same Get_Http_Object + monkeypatch wrapping.
  • One helper that reads a file's bytes by ID (content_on_drive), added by both #455 and #457. #457 no longer adds it, so only #455 has it and nothing needs merging.
  • Run every test_fs.py case on a folder-ID mount as well as a path mount, with the folder-ID round on one CI job only, then retire the cases in test_fs_folder_id.py (#457) that this covers. DVC remotes are usually folder IDs, and today only 10 hand-picked cases run on one.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
671
Forks
76
Merge medio
17 h 55 min
PR fusionados (30 d)
46

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 iterative/PyDrive2

Todos los issues de iterative/PyDrive2

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.