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:
parent
549136b1b0
commit
ec3f70199c
1 changed files with 4 additions and 1 deletions
|
|
@ -66,12 +66,15 @@ def depsolve(transactions, cache_dir, dnf_config=None, repos=None, root_dir=None
|
||||||
req = {
|
req = {
|
||||||
"command": "depsolve",
|
"command": "depsolve",
|
||||||
"arch": ARCH,
|
"arch": ARCH,
|
||||||
"module_platform_id": f"platform:el{RELEASEVER}",
|
|
||||||
"releasever": RELEASEVER,
|
"releasever": RELEASEVER,
|
||||||
"cachedir": cache_dir,
|
"cachedir": cache_dir,
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"transactions": transactions,
|
"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:
|
if repos:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue