Debian Codegraph @

tests/modules/endpoint/_test_default.py

raw
1 """Tests for the default endpoint module."""
2
3 from collections.abc import Callable
4 from typing import Any
5
6 from asusrouter.tools.readers import read_json_content
7
8
9 def _test_read(read: Callable[[str], dict[str, Any]]):
10 """Test read function."""
11
12 # Check if 'read' is the same as 'read_json_content'
13 assert read == read_json_content