Skip to content

Commit

Permalink
test default generator method
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilt committed Jun 4, 2019
1 parent 2dd988a commit 0fd9d87
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ def test_terraform_post_processor_moves_files_once():
'bar']['filename'] == ('./deployment.zip')


def test_template_generator_default():
tgen = package.TemplateGenerator()

with pytest.raises(package.UnsupportedFeatureError):
tgen.dispatch(models.Model(), {})


class TemplateTestBase(object):

template_gen_factory = None
Expand Down

0 comments on commit 0fd9d87

Please sign in to comment.