##// END OF EJS Templates
more detail in oinfo tests
MinRK -
Show More
@@ -345,6 +345,8 b' def test_oinfo_found():'
345 345 yield tst
346 346 content = reply['content']
347 347 yield nt.assert_true(content['found'])
348 argspec = content['argspec']
349 yield nt.assert_true(argspec is None, "didn't expect argspec dict, got %r" % argspec)
348 350
349 351
350 352 @dec.parametric
@@ -361,6 +363,9 b' def test_oinfo_detail():'
361 363 yield tst
362 364 content = reply['content']
363 365 yield nt.assert_true(content['found'])
366 argspec = content['argspec']
367 yield nt.assert_true(isinstance(argspec, dict), "expected non-empty argspec dict, got %r" % argspec)
368 yield nt.assert_equals(argspec['defaults'], [0])
364 369
365 370
366 371 @dec.parametric
General Comments 0
You need to be logged in to leave comments. Login now