Skip to content

Commit 8dd27a6

Browse files
author
Tomasz-Kluczkowski
committed
Add tests for find_items.
1 parent 75c8e82 commit 8dd27a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_data_extractor.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ def test_find_items(self):
3232
]
3333
assert data_extractor.find_items() == expected
3434

35+
def test_find_items_none_found(self):
36+
assert data_extractor.find_items(100) == []
37+
38+
def test_find_items_all_matching(self):
39+
assert data_extractor.find_items(1) == WEBSITES
40+
3541
def test_amend_domain_values(self):
3642
expected = [
3743
{

0 commit comments

Comments
 (0)