@@ -116,8 +116,8 @@ def test_cf_uncertainty_remove(ab_app):
116116
117117def test_method_delete (ab_app , monkeypatch ):
118118 method = ("A_methods" , "methods" , "method_to_delete" )
119- branch = ("A_methods" , "methods_to_delete" )
120- branched_method = ("A_methods" , "methods_to_delete" , "method_to_delete " )
119+ dual_method_1 = ("A_methods" , "methods_to_delete" , "method_to_delete_one " )
120+ dual_method_2 = ("A_methods" , "methods_to_delete" , "method_to_delete_two " )
121121
122122 monkeypatch .setattr (
123123 QtWidgets .QMessageBox ,
@@ -127,13 +127,15 @@ def test_method_delete(ab_app, monkeypatch):
127127
128128 assert bd .projects .current == "default"
129129 assert method in bd .methods
130- assert branched_method in bd .methods
130+ assert dual_method_1 in bd .methods
131+ assert dual_method_2 in bd .methods
131132
132- actions .MethodDelete .run ([method ], "leaf" )
133- actions .MethodDelete .run ([branch ], "branch" )
133+ actions .MethodDelete .run ([method ])
134+ actions .MethodDelete .run ([dual_method_1 , dual_method_2 ] )
134135
135136 assert method not in bd .methods
136- assert branched_method not in bd .methods
137+ assert dual_method_1 not in bd .methods
138+ assert dual_method_2 not in bd .methods
137139
138140
139141def test_method_duplicate (ab_app , monkeypatch ):
0 commit comments