From 94a5c77a80f6423700c1f1a5c6f0740042adce2b Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Thu, 1 Aug 2024 21:29:36 -0700 Subject: [PATCH 1/2] Removed Senkos template for now --- core/templates/registry.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/templates/registry.py b/core/templates/registry.py index 1e8f432f5..a07a25a39 100644 --- a/core/templates/registry.py +++ b/core/templates/registry.py @@ -4,7 +4,8 @@ from .javascript_react import JavascriptReactProjectTemplate from .node_express_mongoose import NodeExpressMongooseProjectTemplate -from .react_express import ReactExpressProjectTemplate + +# from .react_express import ReactExpressProjectTemplate log = get_logger(__name__) @@ -14,11 +15,11 @@ class ProjectTemplateEnum(str, Enum): JAVASCRIPT_REACT = JavascriptReactProjectTemplate.name NODE_EXPRESS_MONGOOSE = NodeExpressMongooseProjectTemplate.name - REACT_EXPRESS = ReactExpressProjectTemplate.name + # REACT_EXPRESS = ReactExpressProjectTemplate.name PROJECT_TEMPLATES = { JavascriptReactProjectTemplate.name: JavascriptReactProjectTemplate, NodeExpressMongooseProjectTemplate.name: NodeExpressMongooseProjectTemplate, - ReactExpressProjectTemplate.name: ReactExpressProjectTemplate, + # ReactExpressProjectTemplate.name: ReactExpressProjectTemplate, } From b01770fd7cca66bffcd070205a5148b1b4f705f5 Mon Sep 17 00:00:00 2001 From: LeonOstrez Date: Fri, 2 Aug 2024 17:18:13 +0200 Subject: [PATCH 2/2] skip tests --- tests/templates/test_templates.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/templates/test_templates.py b/tests/templates/test_templates.py index 42efa5cf2..04ff53ec3 100644 --- a/tests/templates/test_templates.py +++ b/tests/templates/test_templates.py @@ -6,6 +6,7 @@ from core.templates.registry import PROJECT_TEMPLATES +@pytest.mark.skip @pytest.mark.asyncio @patch("core.state.state_manager.get_config") async def test_render_react_express_sql(mock_get_config, testmanager): @@ -30,6 +31,7 @@ async def test_render_react_express_sql(mock_get_config, testmanager): assert "api/models/user.js" not in files +@pytest.mark.skip @pytest.mark.asyncio @patch("core.state.state_manager.get_config") async def test_render_react_express_nosql(mock_get_config, testmanager):