Skip to content

Commit b083001

Browse files
author
Kolea Plesco
committed
fixed old tests
1 parent 747f6c1 commit b083001

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ted_sws/core/model/manifestation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ def add_validation(self, validation: Union[XPATHCoverageValidationReport]):
9999
self.xpath_coverage_validation: XPATHCoverageValidationReport = validation
100100

101101
def is_validated(self) -> bool:
102-
print("K :: ", self.xpath_coverage_validation)
103102
if self.xpath_coverage_validation:
104-
print("K :: VALIDATED")
105103
return True
106104
return False
107105

tests/e2e/data_manager/test_mongodb_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ def test_mongodb_queries():
9393
minimal_set_of_xpaths.append(top_xpath["xpath"])
9494
notice_ids = top_xpath["notice_ids"]
9595
for notice_id in notice_ids:
96-
unique_notice_ids.remove(notice_id)
96+
if notice_id in unique_notice_ids:
97+
unique_notice_ids.remove(notice_id)
9798
covered_notice_ids.append(notice_id)
9899

99100
print("minimal_set_of_xpaths: ", minimal_set_of_xpaths)

0 commit comments

Comments
 (0)