From: Daan De Meyer Date: Fri, 1 Dec 2023 13:12:19 +0000 (+0100) Subject: tests: Fix Distribution creation X-Git-Tag: v20~115^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20cd150c63a9f0b50370f2f2ee36c99aee6a28a4;p=thirdparty%2Fmkosi.git tests: Fix Distribution creation --- diff --git a/tests/__init__.py b/tests/__init__.py index e1f1afcc0..a51ceae0b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -18,7 +18,7 @@ class Image: self.options = options if d := os.getenv("MKOSI_TEST_DISTRIBUTION"): - self.distribution = Distribution[d] + self.distribution = Distribution(d) elif detected := detect_distribution()[0]: self.distribution = detected else: