From 3ef7b2fbe558974da66474923a460bdc0b9e5185 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Thu, 5 Nov 2026 12:08:26 +0100 Subject: [PATCH] fix: run every pack README test from its file --- tests/test_pack_readme.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_pack_readme.py b/tests/test_pack_readme.py index e63fbbc4c..6ee8c3b64 100644 --- a/tests/test_pack_readme.py +++ b/tests/test_pack_readme.py @@ -111,10 +111,6 @@ class TheOneLinerFollowsTheRegistry(unittest.TestCase): self.assertEqual(packreadme.INSTALL_PS1, f"{INSTALL_BASE}/{sitebootstrap.PS1_NAME}") -if __name__ == "__main__": - unittest.main() - - class GuidesInstallFromTheZipInHand(unittest.TestCase): """Option A sent a user holding the ZIP to the one-liner, which downloads every file again. --from-pack installs from the archive itself.""" @@ -129,3 +125,7 @@ class GuidesInstallFromTheZipInHand(unittest.TestCase): continue with self.subTest(platform=name): self.assertIn(f"--platform {name} --from-pack ", text) + + +if __name__ == "__main__": + unittest.main()