import demo print("---------------------------") status = demo.system("ls -l") print("---------------------------") hi = demo.hello("Sink") print(hi) print("---------------------------") hi = demo.chinese("Sink", 2014) print(hi) print("---------------------------")
def test_default(): assert hello() == "Hollo World!-)"
def test_put_foo(): assert_equals(hello('foo'), "foo" )
import demo from demo import sub1, sub2 assert demo.hello() == "root" assert sub1.hello() == "sub1" assert sub2.hello() == "sub2" print("test ok !")