Skip to content

Commit b35bb7e

Browse files
committed
fixup! Add dynamic task mapping into TaskSDK runtime
1 parent 5d210ee commit b35bb7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests_common/pytest_plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,7 @@ def skip_db_test(item):
544544
# also automatically skip tests marked with `backend` marker as they are implicitly
545545
# db tests
546546
pytest.skip(
547-
f"The test is skipped as it is DB test "
548-
f"and --skip-db-tests is flag is passed to pytest. {item}"
547+
f"The test is skipped as it is DB test and --skip-db-tests is flag is passed to pytest. {item}"
549548
)
550549

551550

@@ -876,6 +875,7 @@ def __exit__(self, type, value, traceback):
876875
sdm._SerializedDagModel__data_cache = (
877876
self.serialized_model._SerializedDagModel__data_cache
878877
)
878+
sdm._data = self.serialized_model._data
879879
self.serialized_model = sdm
880880
else:
881881
self.session.merge(self.serialized_model)

0 commit comments

Comments
 (0)