From 1bc3fb5d8a24ca41d5a06cba5187915e7070dbb6 Mon Sep 17 00:00:00 2001 From: Michal Domonkos Date: Thu, 9 May 2024 10:08:58 +0200 Subject: [PATCH] Convert $releasever "given" step to generic step We'll need this step in a "when" context in the next commit. No functional change. --- dnf-behave-tests/dnf/steps/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf-behave-tests/dnf/steps/repo.py b/dnf-behave-tests/dnf/steps/repo.py index 274e95795..b78b8dc69 100644 --- a/dnf-behave-tests/dnf/steps/repo.py +++ b/dnf-behave-tests/dnf/steps/repo.py @@ -137,7 +137,7 @@ def generate_metalink(destdir, url): f.write(data + '\n') -@behave.given("I set releasever to \"{releasever}\"") +@behave.step("I set releasever to \"{releasever}\"") def step_impl(context, releasever): context.dnf._set("releasever", releasever) for repo, info in context.dnf.repos.items():