[BUG] test_pkgrepo not run on Debian #61641
Labels
Bug
broken, incorrect, or confusing behavior
severity-high
2nd top severity, seen by most users, causes major problems
Tests
Milestone
Description
The tests in
tests/pytests/functional/states/test_pkgrepo.py
should be run on Debian based systems:But on Ubuntu 21.10,
platform.platform()
does not return the distribution name:Note 1
Once #61626 is reviewed and merged, following code could be used to run the test cases on all Debian based systems (not only on Debian and Ubuntu):
Note 2
If I remove the
skipif
, these test cases fail to run during Debian package build, because they want to write to/etc/apt/sources.list
:Versions Report
salt 3004, but the master branch is affected as well.
The text was updated successfully, but these errors were encountered: