Show More
@@ -345,6 +345,8 b' def test_oinfo_found():' | |||||
345 | yield tst |
|
345 | yield tst | |
346 | content = reply['content'] |
|
346 | content = reply['content'] | |
347 | yield nt.assert_true(content['found']) |
|
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 | @dec.parametric |
|
352 | @dec.parametric | |
@@ -361,6 +363,9 b' def test_oinfo_detail():' | |||||
361 | yield tst |
|
363 | yield tst | |
362 | content = reply['content'] |
|
364 | content = reply['content'] | |
363 | yield nt.assert_true(content['found']) |
|
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 | @dec.parametric |
|
371 | @dec.parametric |
General Comments 0
You need to be logged in to leave comments.
Login now