def test_deco(): m = my(27) # {'age' : 27, 'name':'parkjinseok'} assert 'age' in m assert 'name' in m o = other(24) #{'nai':24,'name' : 'bongyong'} assert 'nai' in o assert 'name' in o assert 24 == o['nai'] assert 'bongyong' == o['name']
def test_deco(): m = my(22) # {'age':22, 'name': 'gong'} assert 'age' in m assert 'name' in m assert 22 == m['age'] assert 'gong' == m['name'] o = other(24) assert my(24) assert 'age' in o assert 'name' in o
def test_deco(): m = my(22) #{'age': 22, 'name': 'bong'} assert 'age' in m assert 'name' in m assert 22 == m['age'] assert 'bong' == m['name'] o = other(24) #{'age': 22, 'name': 'bong'} assert 'o_age' in o assert 'nai' in o assert 24 == o['o_age'] assert 'kang' == o['nai']