Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Python init template does not work in directory with '-' #15939

Merged
merged 5 commits into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest

from aws_cdk import core
from %name%.%name.PythonModule%_stack import %name.PascalCased%Stack
from %name.PythonModule%.%name.PythonModule%_stack import %name.PascalCased%Stack


def get_template():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest

import aws_cdk_lib as core
from %name%.%name.PythonModule%_stack import %name.PascalCased%Stack
from %name.PythonModule%.%name.PythonModule%_stack import %name.PascalCased%Stack


def get_template():
Expand Down
1 change: 1 addition & 0 deletions packages/aws-cdk/test/integ/init/test-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ for template in $templates; do
pip install -r requirements.txt

cdk synth
pytest
done