Skip to content

Commit

Permalink
Merge pull request #1077 from Pythagora-io/comment_senkos_template
Browse files Browse the repository at this point in the history
Removed Senkos template for now
  • Loading branch information
LeonOstrez authored Aug 2, 2024
2 parents 88f7907 + b01770f commit 98de63e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/templates/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand All @@ -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,
}
2 changes: 2 additions & 0 deletions tests/templates/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 98de63e

Please sign in to comment.