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

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
0
Forks
1
Ø Merge
18 Std. 37 Min.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus IgniteRobotics/flashpoint

Alle Issues in IgniteRobotics/flashpoint

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.