diff --git a/avocado/core/dependencies/dependency.py b/avocado/core/dependencies/dependency.py index 2f77c5763c..46473d6e35 100644 --- a/avocado/core/dependencies/dependency.py +++ b/avocado/core/dependencies/dependency.py @@ -58,7 +58,7 @@ def __eq__(self, other): @classmethod def from_dictionary(cls, dictionary): return cls( - dictionary.pop("type", None), + dictionary.get("type", None), dictionary.pop("uri", None), dictionary.pop("args", ()), dictionary,