Repository: teemtee/tmt (language: python)

Issue:
Allow modification of imported plans #1788
Related #1788


Discussion / hints:
/packit retest-failed

Fix patch:
diff --git a/spec/plans/import.fmf b/spec/plans/import.fmf
index 1c25346c61..eafc04d820 100644
--- a/spec/plans/import.fmf
+++ b/spec/plans/import.fmf
@@ -25,7 +25,9 @@ description: |
     Plan steps must not be defined in the remote plan reference.
     Inheriting or overriding remote plan config with local plan
     steps might be possible in the future but currently is not
-    supported in any way.
+    supported. The only way how to modify imported plan is via
+    environment variables. Variables defined in the plan override
+    any variables defined in the remote plan.
 
     .. versionadded:: 1.19
 


Test patch:
diff --git a/tests/plan/import/modify-data/plans.fmf b/tests/plan/import/modify-data/plans.fmf
index 9c2d847972..e182b4b3b5 100644
--- a/tests/plan/import/modify-data/plans.fmf
+++ b/tests/plan/import/modify-data/plans.fmf
@@ -5,7 +5,6 @@
     execute:
         script: test "${VARIABLE}" == "foobar"
 
-# TODO: Delete 'ref' specification once merged to 'main'
 /importing-other-plan-and-modify-environment:
     summary: Import plan and modify it with environment variable
     environment:
@@ -15,4 +14,3 @@
             url: https://github.com/teemtee/tmt
             path: /tests/plan/import/modify-data
             name: /plans/must-be-imported-and-modified
-            ref: mzeleny-modification-imported-plans