def test_Method_postprocess():
    opt = {'method': 'f5b'}
    Method.postprocess(opt)

    assert opt == {'method': 'f5b'}
Example #2
0
def test_Method_postprocess():
    opt = {'method': 'f5b'}
    Method.postprocess(opt)

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