Replace deprecated assertDictContainsSubset
The method was deprecated in Python 3.2[1] was removed in Python 3.12. [1] https://docs.python.org/3/whatsnew/3.2.html#unittest Related-Bug: #1938103 Change-Id: I1a4e43235a019c9296c1554add5b36f6fc705267
This commit is contained in:
committed by
Arnaud Morin
parent
c588ae4c32
commit
0e03f2db5e
@@ -1297,7 +1297,7 @@ class DirectWorkflowEngineTest(base.EngineTestCase):
|
||||
"join_task": 1
|
||||
}
|
||||
|
||||
self.assertDictContainsSubset(expected_context, output)
|
||||
self._assert_dict_contains_subset(expected_context, output)
|
||||
|
||||
def test_context_versioning(self):
|
||||
wf_text = """---
|
||||
|
||||
Reference in New Issue
Block a user