Skip to content

Commit ac89731

Browse files
Added type annotation to test_basic_duckduckgo_search
1 parent 7b6ddbd commit ac89731

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55

6-
def test_basic_duckduckgo_search():
6+
def test_basic_duckduckgo_search() -> None:
77
# Given the DuckDuckGo home page is displayed
88
# When the user searches for a phrase
99
# Then the search result query is the phrase

tutorial/1-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ $ touch tests/test_search.py
162162
Add the following code to `tests/test_search.py`:
163163

164164
```python
165-
def test_basic_duckduckgo_search():
165+
def test_basic_duckduckgo_search() -> None:
166166
# Given the DuckDuckGo home page is displayed
167167
# When the user searches for a phrase
168168
# Then the search result query is the phrase

0 commit comments

Comments
 (0)