From 139b3d476c8d62ea39666bbe8f4afe10354367c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Wed, 5 Jun 2024 09:38:42 -0300 Subject: [PATCH] Fix tests for project generation --- .../{{ cookiecutter.__package_name }}/dependencies.zcml | 2 +- project/tests/test_project_backend.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend_addon/{{ cookiecutter.__folder_name }}/src/{{ cookiecutter.__package_namespace }}/{{ cookiecutter.__package_name }}/dependencies.zcml b/backend_addon/{{ cookiecutter.__folder_name }}/src/{{ cookiecutter.__package_namespace }}/{{ cookiecutter.__package_name }}/dependencies.zcml index 36fb75a..48ac95f 100644 --- a/backend_addon/{{ cookiecutter.__folder_name }}/src/{{ cookiecutter.__package_namespace }}/{{ cookiecutter.__package_name }}/dependencies.zcml +++ b/backend_addon/{{ cookiecutter.__folder_name }}/src/{{ cookiecutter.__package_namespace }}/{{ cookiecutter.__package_name }}/dependencies.zcml @@ -2,8 +2,8 @@ {%- if cookiecutter.__feature_headless == '1' %} - + {%- endif %} diff --git a/project/tests/test_project_backend.py b/project/tests/test_project_backend.py index 2dd7e82..bd89c9d 100644 --- a/project/tests/test_project_backend.py +++ b/project/tests/test_project_backend.py @@ -72,7 +72,6 @@ def test_backend_package_files_removed(cutter_result, filename: str): ["setup.py", "plone.restapi"], ["src/plonegov/ploneorgbr/dependencies.zcml", "plone.volto"], ["src/plonegov/ploneorgbr/dependencies.zcml", "plone.restapi"], - ["src/plonegov/ploneorgbr/profiles/default/metadata.xml", "plone.restapi:default"], ["src/plonegov/ploneorgbr/profiles/default/metadata.xml", "plone.volto:default"], ]