Skip to content

tools/tests: correct variant parsing

Seen in NM 1.42.6 where there is now a ipv4.dns-data key which have as signature: dbus.Array([dbus.String('a.b.c.d')], signature=dbus.Signature('s'), variant_level=1)

This lead to the following exception: Cannot convert array element to type 's': Must be string, not Variant

Moreover, the exception TypeError has no message field so it raised another expcetion which gave me trouble to find what's going on.

Hence the addition of a log file from the previous commit

Signed-off-by: Frederic Martinsons frederic.martinsons@gmail.com

Merge request reports