Remove .get calls for dry_run - it's a mandatory property

This commit is contained in:
Matthias
2020-01-20 20:24:40 +01:00
parent 2f82122fc4
commit 1bf475fa1a
4 changed files with 7 additions and 8 deletions

View File

@@ -323,7 +323,7 @@ def test_load_dry_run(default_conf, mocker, config_value, expected, arglist) ->
configuration = Configuration(Arguments(arglist).get_parsed_arg())
validated_conf = configuration.load_config()
assert validated_conf.get('dry_run') is expected
assert validated_conf['dry_run'] is expected
def test_load_custom_strategy(default_conf, mocker) -> None: