1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Fix test case to return TestResponse instead of an empty list in HelpDoc tests

This commit is contained in:
Adolfo Gómez García 2025-02-08 20:10:15 +01:00
parent 94249decfb
commit 10076bf46a
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -30,7 +30,6 @@
Author: Adolfo Gómez, dkmaster at dkmon dot com
"""
import dataclasses
import collections.abc
import logging
import typing
@ -150,7 +149,7 @@ class TestHelpDoc(TestCase):
"""
This is a test function
"""
return []
return TestResponse()
h = rest.HelpDoc.from_fnc('path', 'help', testing_fnc)