def test_Method_postprocess(): opt = {'method': 'f5b'} Method.postprocess(opt) assert opt == {'method': 'f5b'}
def test_Method_preprocess(): raises(OptionError, lambda: Method.preprocess(10))