예제 #1
0
def test_doc_run():
    with temprun() as runner:
        doc = Doc("abc.txt|dexy|dexy", runner=runner)
        doc.run()
        assert doc in runner.registered
예제 #2
0
파일: test_doc.py 프로젝트: tomspur/dexy
def test_doc_run():
    with temprun() as runner:
        doc = Doc("abc.txt|dexy|dexy", runner=runner)
        doc.run()
        assert doc in runner.registered
예제 #3
0
def test_doc_run():
    with wrap() as wrapper:
        doc = Doc("abc.txt|dexy|dexy", wrapper=wrapper)
        doc.run()
        assert doc in wrapper.registered