From 8dc0b1f1e05706adffbb8b43db0d7cea67666d2a Mon Sep 17 00:00:00 2001 From: Peter Mathis Date: Tue, 2 May 2023 13:46:32 +0200 Subject: [PATCH] fix window scrip suffix --- src/plone/recipe/zeoserver/tests/zeoserver.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plone/recipe/zeoserver/tests/zeoserver.txt b/src/plone/recipe/zeoserver/tests/zeoserver.txt index e9ad7bd..751affc 100644 --- a/src/plone/recipe/zeoserver/tests/zeoserver.txt +++ b/src/plone/recipe/zeoserver/tests/zeoserver.txt @@ -474,6 +474,8 @@ be different and correspond as the buildout specified:: >>> zeopack_scripts = ('first-zeopack', 'second-zeopack') >>> zeopack_paths = [os.path.join(sample_buildout, 'bin', script) for script in zeopack_scripts] + >>> if WINDOWS: + ... zeopack_paths = [zeopack + '-script.py' for zeopack in zeopacks] >>> with open(zeopack_paths[0], 'r') as f: ... first_zeopack = f.read() >>> with open(zeopack_paths[1], 'r') as f: