From 8c9c7b16285c719c066050b48fac5a78f34bfa1b Mon Sep 17 00:00:00 2001 From: Jose Miguel Rodriguez Naranjo Date: Tue, 10 Sep 2024 13:36:16 +0200 Subject: [PATCH] Remove dict() from a ChainMap in before_feature --- toolium/behave/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolium/behave/environment.py b/toolium/behave/environment.py index 6ae30997..57ba8f46 100644 --- a/toolium/behave/environment.py +++ b/toolium/behave/environment.py @@ -82,7 +82,7 @@ def before_feature(context, feature): # Dictionary to store information between features context.feature_storage = dict() - context.storage = collections.ChainMap(dict(), context.feature_storage, context.run_storage) + context.storage = collections.ChainMap(context.feature_storage, context.run_storage) # Behave dynamic environment context.dyn_env.get_steps_from_feature_description(feature.description)