mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
grains: Update Pop!_OS test case from 20.10 to 21.10
Update the OS grains test cases for Pop!_OS to still supported versions. Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
This commit is contained in:
parent
58a2bcc253
commit
bb8db0ff5e
1 changed files with 8 additions and 8 deletions
|
@ -1249,22 +1249,22 @@ def test_pop_focal_os_grains():
|
|||
|
||||
|
||||
@pytest.mark.skip_unless_on_linux
|
||||
def test_pop_groovy_os_grains():
|
||||
def test_pop_impish_os_grains():
|
||||
"""
|
||||
Test if OS grains are parsed correctly in Pop!_OS 20.10 "Groovy Gorilla"
|
||||
Test if OS grains are parsed correctly in Pop!_OS 21.10 "Impish Indri"
|
||||
"""
|
||||
_os_release_map = {
|
||||
"_linux_distribution": ("Pop", "20.10", "groovy"),
|
||||
"_linux_distribution": ("Pop", "21.10", "impish"),
|
||||
}
|
||||
expectation = {
|
||||
"os": "Pop",
|
||||
"os_family": "Debian",
|
||||
"oscodename": "groovy",
|
||||
"oscodename": "impish",
|
||||
"osfullname": "Pop",
|
||||
"osrelease": "20.10",
|
||||
"osrelease_info": (20, 10),
|
||||
"osmajorrelease": 20,
|
||||
"osfinger": "Pop-20",
|
||||
"osrelease": "21.10",
|
||||
"osrelease_info": (21, 10),
|
||||
"osmajorrelease": 21,
|
||||
"osfinger": "Pop-21",
|
||||
}
|
||||
_run_os_grains_tests(None, _os_release_map, expectation)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue