mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
59d3a1a999
commit
ebde11d29f
4
support/testing/tests/package/sample_python_distro.py
Normal file
4
support/testing/tests/package/sample_python_distro.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import distro
|
||||
|
||||
assert(distro.name() == 'Buildroot')
|
||||
assert(distro.id() == 'buildroot')
|
||||
Reference in New Issue
Block a user