mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-04-24 04:00:12 +02:00

This patch drops `os.getuid` usage in `Model`, for virtual environment detection. This way, additional information may be gathered if, for some reasons, `virt-what` and/or `dmidecode` can be executed by the process owner. It also drastically simplifies unit testing.