Permalink
Browse files

Python3 fixes

  • Loading branch information...
dzimine committed Nov 6, 2018
1 parent 37d98d5 commit 1cf04a1c8a5aaeb2241eff470289fcb43124e948
Showing with 1 addition and 2 deletions.
  1. +1 −1 greengo/greengo.py
  2. +0 −1 tests/main_test.py
@@ -157,7 +157,7 @@ def create_group_version(self):
ResourceDefinitionVersionArn=state['Resources']['LatestVersionArn'],
)

args = dict((k, v) for k, v in kwargs.iteritems() if v)
args = dict((k, v) for k, v in kwargs.items() if v)

log.debug("Creating group version with settings:\n{0}".format(pretty(args)))

@@ -140,7 +140,6 @@ def test_role_exists(self):
error = ClientError(
error_response={'Error': {'Code': 'EntityAlreadyExists'}},
operation_name='CreateRole')
print "I am here indeed"

self.gg._iam.create_role = MagicMock(side_effect=error)
self.gg._default_lambda_role_arn() # Doesn't blow up

0 comments on commit 1cf04a1

Please sign in to comment.