def test_noop(): # not much to test here. n = builtin.noop({}) assert n('key', {}) is None
def _noop_fail_build(cfg, expected): with raises(Exception) as got: builtin.noop(cfg) assert_exception_correct(got.value, expected)
def test_noop(): # not much to test here. n = builtin.noop({}) assert n('key', {}) is None
def _noop_fail_build(cfg, expected): with raises(Exception) as got: builtin.noop(cfg) assert_exception_correct(got.value, expected)