Skip to content

Commit 1f9e3e0

Browse files
🪲 fix typo in copy_and_reset_finding (#12135)
1 parent f2be288 commit 1f9e3e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

unittests/test_deduplication_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ def log_summary(self, product=None, engagement=None, test=None):
11971197
if not product and not engagement and not test:
11981198
self.log_all_products()
11991199

1200-
def copy_and_reset_finding(find_idself, find_id):
1200+
def copy_and_reset_finding(self, find_id):
12011201
org = Finding.objects.get(id=find_id)
12021202
new = _copy_model_util(org)
12031203
new.duplicate = False

unittests/test_false_positive_history_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ def log_summary(self, product=None, engagement=None, test=None):
17171717
if not product and not engagement and not test:
17181718
self.log_all_products()
17191719

1720-
def copy_and_reset_finding(find_idself, find_id):
1720+
def copy_and_reset_finding(self, find_id):
17211721
org = Finding.objects.get(id=find_id)
17221722
new = _copy_model_util(org)
17231723
new.duplicate = False

0 commit comments

Comments
 (0)