v2
This commit is contained in:
1 parent
c1a2a8cc30
commit
3fb3418e89
4 files changed
+19
-7
No files matched your search
@@ -38,12 +38,16 @@ def test_catalog_uses_three_linux_distribution_families():
|
||||
assert len(catalog["packages"]) == 3
|
||||
|
||||
|
||||
def test_dashboard_is_english_text_only():
|
||||
def test_dashboard_is_english_with_utility_svg_icons_only():
|
||||
html = (ROOT / "dashboard/web/index.html").read_text()
|
||||
js = (ROOT / "dashboard/web/app.js").read_text()
|
||||
assert 'lang="en"' in html
|
||||
assert "brand-icon" not in html
|
||||
assert "favicon" not in html
|
||||
assert "status-dot" not in html
|
||||
assert "theme-icon-sun" in html
|
||||
assert "theme-icon-moon" in html
|
||||
assert "refresh-icon" in html
|
||||
assert html.count("<svg") == 3
|
||||
for label in ("Overview", "Packages", "Installation", "Repositories", "Debian / Ubuntu", "RHEL / AlmaLinux / Rocky Linux", "SUSE / openSUSE"):
|
||||
assert label in html or label in js
|
||||
Reference in new issue
Block a user