Skip to content

Commit

Permalink
Update test name
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed Apr 3, 2017
1 parent ac40465 commit 25ca060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/test_awsclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ def test_deploy_rest_api(stubbed_session):
stubbed_session.verify_stubs()


def test_update_function_code_only(stubbed_session):
def test_always_update_function_code(stubbed_session):
lambda_client = stubbed_session.stub('lambda')
lambda_client.update_function_code(
FunctionName='name', ZipFile=b'foo').returns({})
# Even if there's only a code change, we'll always call
# update_function_configuration.
lambda_client.update_function_configuration(
FunctionName='name', Environment={'Variables': {}}).returns({})
stubbed_session.activate_stubs()
Expand Down

0 comments on commit 25ca060

Please sign in to comment.