コード例 #1
0
ファイル: test_actions.py プロジェクト: juztas/fdtcp
def testTestAction():
    ta = TestAction("src", "dest", 5)
    assert ta.timeout == 5
    r = ta.execute()
    assert r.status == 0
    assert r.id == ta.id
コード例 #2
0
ファイル: test_actions.py プロジェクト: juztas/phedex-fdt
def testTestAction():
    ta = TestAction(5)
    assert ta.timeout == 5
    r = ta.execute()
    assert r.status == 0
    assert r.id == ta.id