Skip to content

Commit f4b1e6c

Browse files
committed
Root endpoint unit test
1 parent 61dae19 commit f4b1e6c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from app.endpoints.root import root_endpoint_handler
2+
from configuration import AppConfig
3+
4+
5+
def test_root_endpoint(mocker):
6+
"""Test the root endpoint handler."""
7+
request = None
8+
response = root_endpoint_handler(request)
9+
assert response is not None

0 commit comments

Comments
 (0)