From: Daan De Meyer Date: Thu, 1 Aug 2024 14:37:14 +0000 (+0200) Subject: tests: Pass host environment when invoking mkosi X-Git-Tag: v25~374^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf1855c1738c582f3f7eba5ff79756fcaa93c32;p=thirdparty%2Fmkosi.git tests: Pass host environment when invoking mkosi --- diff --git a/tests/__init__.py b/tests/__init__.py index c1488cca6..75b475663 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -96,7 +96,7 @@ class Image: "--qemu-mem=2G", verb, *args, - ], check=check, stdin=stdin, stdout=sys.stdout, user=user, group=group) + ], check=check, stdin=stdin, stdout=sys.stdout, user=user, group=group, env=os.environ) def build(self, options: Sequence[str] = (), args: Sequence[str] = ()) -> CompletedProcess: return self.mkosi(