Skip to content

Commit

Permalink
fix runtime error introduced by 884fb93 (#10172)
Browse files Browse the repository at this point in the history
* fix runtime error introduced by 884fb93

* Update pytest_fixtures/core/broker.py

Co-authored-by: Jake Callahan <[email protected]>

Co-authored-by: Jake Callahan <[email protected]>
  • Loading branch information
rplevka and JacobCallahan authored Oct 17, 2022
1 parent f3c3f96 commit 6684768
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytest_fixtures/core/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

def _resolve_deploy_args(args_dict):
# TODO: https://github.com/rochacbruno/dynaconf/issues/690
args_dict = args_dict.copy().to_dict()
for key, val in args_dict.items():
for key, val in args_dict.copy().to_dict().items():
if isinstance(val, str) and val.startswith('this.'):
# Args transformed into small letters and existing capital args removed
args_dict[key.lower()] = settings.get(args_dict.pop(key).replace('this.', ''))
Expand Down

0 comments on commit 6684768

Please sign in to comment.