From a29cd98df2a4b75680767cb69dba019524951da2 Mon Sep 17 00:00:00 2001 From: Thomas Newton Date: Wed, 20 Dec 2023 00:15:00 +0000 Subject: [PATCH] Fix a newly added test from master --- tests/flytekit/unit/core/test_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/flytekit/unit/core/test_utils.py b/tests/flytekit/unit/core/test_utils.py index 910156f50a0..ca0d07565d7 100644 --- a/tests/flytekit/unit/core/test_utils.py +++ b/tests/flytekit/unit/core/test_utils.py @@ -1,3 +1,5 @@ +from collections import OrderedDict + import pytest import flytekit @@ -90,7 +92,7 @@ def t() -> str: assert t() == "hello world" assert t.get_config(settings=ss) == {} - ts = get_serializable_task(ss, t) + ts = get_serializable_task(OrderedDict(), ss, t) assert ts.template.config == {"foo": "bar"} @task @@ -98,5 +100,5 @@ def t() -> str: def t() -> str: return "hello world" - ts = get_serializable_task(ss, t) + ts = get_serializable_task(OrderedDict(), ss, t) assert ts.template.config == {"foo": "baz"}