Skip to content

Commit

Permalink
Changed docstrings in paramster.py and runner.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiaolulu committed Mar 29, 2024
1 parent 7b2a19a commit d76ddf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions backend/core/engine/paramster.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ def wrapper(self):


def ddt(cls):
"""
:param cls: 测试类
:return:
"""
for name, func in list(cls.__dict__.items()):
if hasattr(func, "PARAMS"):

Expand All @@ -51,11 +47,6 @@ def ddt(cls):


def list_data(datas):
"""
:param datas: 测试数据
:return:
"""

def wrapper(func):
setattr(func, "PARAMS", datas)
return func
Expand Down
1 change: 0 additions & 1 deletion backend/core/engine/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class TestResult(unittest.TestResult):
""" 测试结果记录"""

def __init__(self):
super().__init__()
Expand Down

0 comments on commit d76ddf6

Please sign in to comment.