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

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
0
Fork
1
Merge medio
18h 37m
PR unite (30g)
15

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IgniteRobotics/flashpoint

Tutte le issue di IgniteRobotics/flashpoint

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.