Skip to content

Commit

Permalink
Added type annotation to test_basic_duckduckgo_search
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationPanda committed Mar 11, 2022
1 parent 7b6ddbd commit ac89731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""


def test_basic_duckduckgo_search():
def test_basic_duckduckgo_search() -> None:
# Given the DuckDuckGo home page is displayed
# When the user searches for a phrase
# Then the search result query is the phrase
Expand Down
2 changes: 1 addition & 1 deletion tutorial/1-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $ touch tests/test_search.py
Add the following code to `tests/test_search.py`:

```python
def test_basic_duckduckgo_search():
def test_basic_duckduckgo_search() -> None:
# Given the DuckDuckGo home page is displayed
# When the user searches for a phrase
# Then the search result query is the phrase
Expand Down

0 comments on commit ac89731

Please sign in to comment.