Пример #1
0
def test_no_args(prints, addarg):
    main()
    assert prints == [(('Hello, world!',), {})]
Пример #2
0
def test_one_arg(prints, addarg):
    addarg('Jude')
    main()
    assert prints == [(('Hello, Jude!',), {})]