From ff8a10f9cd82695a2f31a89179a076b7d2cd1124 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 18 Feb 2026 19:06:01 +0100 Subject: [PATCH] testing: move shell-hello.nix from global assets to flakes Change-Id: I0039e82cd5ed069d901f4dd96cf33102216a11ea --- .../{testlib/global_assets => flakes/assets}/shell-hello.nix | 0 tests/functional2/flakes/test_run.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/functional2/{testlib/global_assets => flakes/assets}/shell-hello.nix (100%) diff --git a/tests/functional2/testlib/global_assets/shell-hello.nix b/tests/functional2/flakes/assets/shell-hello.nix similarity index 100% rename from tests/functional2/testlib/global_assets/shell-hello.nix rename to tests/functional2/flakes/assets/shell-hello.nix diff --git a/tests/functional2/flakes/test_run.py b/tests/functional2/flakes/test_run.py index 554da2e16..636b687c5 100644 --- a/tests/functional2/flakes/test_run.py +++ b/tests/functional2/flakes/test_run.py @@ -1,13 +1,13 @@ from testlib.fixtures.nix import Nix from testlib.fixtures.file_helper import with_files -from testlib.utils import get_global_asset, CopyTemplate +from testlib.utils import get_global_asset, CopyTemplate, CopyFile from testlib.environ import environ import pytest @with_files( { - "shell-hello.nix": get_global_asset("shell-hello.nix"), + "shell-hello.nix": CopyFile("assets/shell-hello.nix"), "config.nix": get_global_asset("config.nix"), "flake.nix": CopyTemplate("assets/run/flake.nix", {"system": environ.get("system")}), }