Merge pull request #118 from orhtej2/patch-1

Consistently parse apt dependencies.
This commit is contained in:
Tagada 2023-09-06 22:50:12 +02:00 committed by GitHub
commit b5b40510c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1967,7 +1967,7 @@ class Manifest(TestSuite):
apt_packages = resources["apt"].get("packages", [])
if isinstance(apt_packages, str):
apt_packages = [value.strip() for value in apt_packages.split(",")]
apt_packages = [value.strip() for value in re.split(' |,',apt_packages)]
if dbtype == "mysql" and "mariadb-server" not in apt_packages:
yield Warning(