test: drop module_platform_id from depsolve tests

Drop `module_platform_id` as it is now optional and none of
our tests is using it (i.e. has any observable difference if
missing).

Once we start using it we need to add it (and maybe a
"with_platform_id" as parameter on top so that both with/without
platform_id is tested).
This commit is contained in:
Michael Vogt 2025-05-06 13:43:09 +02:00 committed by Simon de Vlieger
parent 549136b1b0
commit ec3f70199c

View file

@ -66,12 +66,15 @@ def depsolve(transactions, cache_dir, dnf_config=None, repos=None, root_dir=None
req = {
"command": "depsolve",
"arch": ARCH,
"module_platform_id": f"platform:el{RELEASEVER}",
"releasever": RELEASEVER,
"cachedir": cache_dir,
"arguments": {
"transactions": transactions,
}
# Note that we are not setting "module_platform_id" here,
# none of our tests is using it. Once we start using it
# we need to add it (and maybe a "with_platform_id" as
# parameter on top)
}
if repos: