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:
parent
94249decfb
commit
10076bf46a
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user