コード例 #1
0
def test_Method_postprocess():
    opt = {'method': 'f5b'}
    Method.postprocess(opt)

    assert opt == {'method': 'f5b'}
コード例 #2
0
def test_Method_postprocess():
    opt = {'method': 'f5b'}
    Method.postprocess(opt)

    assert opt == {'method': 'f5b'}
コード例 #3
0
def test_Method_preprocess():
    raises(OptionError, lambda: Method.preprocess(10))
コード例 #4
0
def test_Method_preprocess():
    raises(OptionError, lambda: Method.preprocess(10))