From ec3f70199c44a1e4eb660ff6a048a3c8f694387c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 6 May 2025 13:43:09 +0200 Subject: [PATCH] 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). --- tools/test/test_depsolve.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/test/test_depsolve.py b/tools/test/test_depsolve.py index 3ba1bf92..8727c4ba 100644 --- a/tools/test/test_depsolve.py +++ b/tools/test/test_depsolve.py @@ -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: