refactor(tests): Add strict type hints to sixth batch of test files
This commit is contained in:
@@ -4,7 +4,7 @@ import requests
|
||||
import pytest
|
||||
from api_hook_client import ApiHookClient
|
||||
|
||||
def test_api_ask_client_method(live_gui):
|
||||
def test_api_ask_client_method(live_gui) -> None:
|
||||
"""
|
||||
Tests the request_confirmation method in ApiHookClient.
|
||||
"""
|
||||
@@ -13,7 +13,7 @@ def test_api_ask_client_method(live_gui):
|
||||
client.get_events()
|
||||
results = {"response": None, "error": None}
|
||||
|
||||
def make_blocking_request():
|
||||
def make_blocking_request() -> None:
|
||||
try:
|
||||
# This call should block until we respond
|
||||
results["response"] = client.request_confirmation(
|
||||
|
||||
Reference in New Issue
Block a user