iotile / iotile/python_archfx_cloud

ArchFxStreamSlug cannot handle an empty parent

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

A few tests that set the parent as `''` or `None` are failing. e.g.

https://github.com/iotile/python_archfx_cloud/blob/main/tests/test_slugs.py#L147

Need to fix that and reenable those tests. Passing `''` or `None` should be equivalent to passing a 0 and should represent `pl--0000-0000`

Note that we may have fixed that already on archfx_cloud: https://github.com/iotile/archfx_cloud/blob/master/server/apps/utils/gid/slugs.py

so need to diff with that file and update as needed. Once we deploy, the archfx_cloud should be replaced with this package

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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