@@ -46,9 +46,9 @@ def test_yaml_load(self, tmpdir):
4646 )
4747
4848 assert changes is not None
49- assert changes [0 ].changes [0 ].findings is not None
50- assert changes [0 ].changes [0 ].findings [0 ].id == "1"
51- assert changes [0 ].changes [0 ].findings [0 ].rule .id == RULE_ID
49+ assert changes [0 ].changes [0 ].fixedFindings is not None
50+ assert changes [0 ].changes [0 ].fixedFindings [0 ].id == "1"
51+ assert changes [0 ].changes [0 ].fixedFindings [0 ].rule .id == RULE_ID
5252
5353 @mock .patch ("codemodder.codemods.api.FileContext.add_dependency" )
5454 def test_pickle_load (self , adds_dependency , tmpdir ):
@@ -80,9 +80,9 @@ def test_pickle_load(self, adds_dependency, tmpdir):
8080 adds_dependency .assert_called_once_with (Fickling )
8181
8282 assert changes is not None
83- assert changes [0 ].changes [0 ].findings is not None
84- assert changes [0 ].changes [0 ].findings [0 ].id == "2"
85- assert changes [0 ].changes [0 ].findings [0 ].rule .id == RULE_ID
83+ assert changes [0 ].changes [0 ].fixedFindings is not None
84+ assert changes [0 ].changes [0 ].fixedFindings [0 ].id == "2"
85+ assert changes [0 ].changes [0 ].fixedFindings [0 ].rule .id == RULE_ID
8686
8787 @mock .patch ("codemodder.codemods.api.FileContext.add_dependency" )
8888 def test_pickle_and_yaml (self , adds_dependency , tmpdir ):
@@ -128,12 +128,12 @@ def test_pickle_and_yaml(self, adds_dependency, tmpdir):
128128 adds_dependency .assert_called_once_with (Fickling )
129129
130130 assert changes is not None
131- assert changes [0 ].changes [0 ].findings is not None
132- assert changes [0 ].changes [0 ].findings [0 ].id == "4"
133- assert changes [0 ].changes [0 ].findings [0 ].rule .id == RULE_ID
134- assert changes [0 ].changes [1 ].findings is not None
135- assert changes [0 ].changes [1 ].findings [0 ].id == "3"
136- assert changes [0 ].changes [1 ].findings [0 ].rule .id == RULE_ID
131+ assert changes [0 ].changes [0 ].fixedFindings is not None
132+ assert changes [0 ].changes [0 ].fixedFindings [0 ].id == "4"
133+ assert changes [0 ].changes [0 ].fixedFindings [0 ].rule .id == RULE_ID
134+ assert changes [0 ].changes [1 ].fixedFindings is not None
135+ assert changes [0 ].changes [1 ].fixedFindings [0 ].id == "3"
136+ assert changes [0 ].changes [1 ].fixedFindings [0 ].rule .id == RULE_ID
137137
138138 @mock .patch ("codemodder.codemods.api.FileContext.add_dependency" )
139139 def test_pickle_loads (self , adds_dependency , tmpdir ):
0 commit comments