def test_second():
     assert class_wrapped.method() == 'main'
示例#2
0
 def test_main():
     assert class_wrapped.method() == 'main method'
 def test_first():
     assert class_wrapped.method() == 'main'