Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that the branding packages are installed in the containers
Browse files Browse the repository at this point in the history
dirkmueller committed Oct 23, 2023
1 parent 4a02d0a commit 40d0f23
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_all.py
Original file line number Diff line number Diff line change
@@ -88,6 +88,20 @@ def test_os_release(auto_container):
)


def test_branding(auto_container):
"""
check that the :file:`/etc/SUSE-brand` file exists and containers SLE branding
"""
assert auto_container.connection.file("/etc/SUSE-brand").exists
branding = "SLE"
if OS_VERSION == "tumbleweed":
branding = "openSUSE"
assert (
branding
in auto_container.connection.file("/etc/SUSE-brand").content_string
)


def test_product(auto_container):
"""
check that :file:`/etc/products.d/$BASEPRODUCT.prod` exists and

0 comments on commit 40d0f23

Please sign in to comment.