kumquat-buildroot/support/testing/tests/package/sample_python_distro.py
Julien Olivain ebde11d29f support/testing: add test for python-distro
This commit add a simple test checking the reported distro name and
id are Buildroot (as reported by /etc/os-release).

Signed-off-by: Julien Olivain <ju.o@free.fr>
[Arnout: drop python2 variant]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 13:55:52 +01:00

5 lines
87 B
Python

import distro
assert(distro.name() == 'Buildroot')
assert(distro.id() == 'buildroot')