test/lvol: update the number of test cases
Update the method which used to get the number of test cases. Change-Id: I4982fdabdac519b2a67ed11b3fc4b4a7ccf07bcc Signed-off-by: Chen Wang <chenx.wang@intel.com> Reviewed-on: https://review.gerrithub.io/399795 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
f5fea785b0
commit
c95cd19fbe
@ -21,7 +21,7 @@ def test_counter():
|
||||
'''
|
||||
:return: the number of tests
|
||||
'''
|
||||
return 37
|
||||
return ['test_case' in i for i in dir(TestCases)].count(True)
|
||||
|
||||
|
||||
def header(num):
|
||||
|
Loading…
x
Reference in New Issue
Block a user