Skip to content

Commit

Permalink
Revert "fix(cli): Python init template does not work in directory wit…
Browse files Browse the repository at this point in the history
…h '-' (#15939)"

This reverts commit 3b2c790.
  • Loading branch information
rix0rrr authored Aug 19, 2021
1 parent 3b2c790 commit 6d2a01d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
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.PythonModule%.%name.PythonModule%_stack import %name.PascalCased%Stack
from %name%.%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.PythonModule%.%name.PythonModule%_stack import %name.PascalCased%Stack
from %name%.%name.PythonModule%_stack import %name.PascalCased%Stack


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

cdk synth
pytest
done

0 comments on commit 6d2a01d

Please sign in to comment.