Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Keyes committed May 26, 2019
1 parent 73f974c commit 2cfe151
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ def test_adds_layers_when_provided(self, sample_app):
function.layers = ['arn:aws:layer1', 'arn:aws:layer2']
template = self.template_gen.generate_sam_template([function])
cfn_resource = list(template['Resources'].values())[0]
assert cfn_resource['Properties']['Layers'] == ['arn:aws:layer1', 'arn:aws:layer2']
assert cfn_resource['Properties']['Layers'] == [
'arn:aws:layer1',
'arn:aws:layer2'
]

def test_duplicate_resource_name_raises_error(self):
one = self.lambda_function()
Expand Down

0 comments on commit 2cfe151

Please sign in to comment.