예제 #1
0
파일: hello.py 프로젝트: asialiugf/gott
import demo
print("---------------------------")
status = demo.system("ls -l")
print("---------------------------")
hi = demo.hello("Sink")
print(hi)
print("---------------------------")
hi = demo.chinese("Sink", 2014)
print(hi)
print("---------------------------")

예제 #2
0
def test_default():
    assert hello() == "Hollo World!-)"
예제 #3
0
def test_put_foo():
    assert_equals(hello('foo'),
                        "foo" ) 
예제 #4
0
파일: test.py 프로젝트: gdugas/py-sub-demo
import demo
from demo import sub1, sub2

assert demo.hello() == "root"
assert sub1.hello() == "sub1"
assert sub2.hello() == "sub2"

print("test ok !")