Windows: tests skipped in P3 (fake sysfs, backslash robot paths)

Abierto
#3 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
testing

Línea de trabajo

Start with tests/acquire/test_volumes_linux.py and tests/acquire/test_transfer.py::test_robot_path_with_backslash_or_colon_is_skipped, then inspect the fake sysfs fixtures and fake SFTP server setup. Compare how the tests create paths on Windows with the Linux and macOS runs. Done means the affected tests run on Windows while still checking the intended parser and path behavior.

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

Descripción

enhancement

P3 (IgniteRobotics/flashpoint-private#15) added a windows-latest CI job. These tests are skipped on win32 because they can't run there as written. Each still runs on Linux and macOS.

  • tests/acquire/test_volumes_linux.py: 6 tests that use the fake /sys tree. Linux sysfs device names contain : (e.g. 0000:00:14.0, 6:0:0:0), which NTFS can't create. The Linux parser itself is pure and tested on fixtures. Possible fix: map : in the fake tree, or inject a path-resolver into the parser.
  • tests/acquire/test_transfer.py::test_robot_path_with_backslash_or_colon_is_skipped: the fake robot serves a host temp directory, and Windows can't create files whose names contain \ or :. The inbox_path rule is still unit-tested on every OS. Possible fix: give the fake SFTP server a virtual filesystem.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
0
Forks
1
Merge medio
18 h 37 min
PR fusionados (30 d)
15

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 IgniteRobotics/flashpoint

Todos los issues de IgniteRobotics/flashpoint

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.