コード例 #1
0
ファイル: config_tests.py プロジェクト: haxsaw/actuator
def test06():
    try:
        _ = _Dependency("other", NullTask("nt"))
        raise Exception("Failed to catch _Dependency creation with 'from' as non-task")
    except:
        assert True
コード例 #2
0
ファイル: config_tests.py プロジェクト: haxsaw/actuator
def test05():
    try:
        _ = _Dependency(NullTask("nt"), "other")
        raise Exception("Failed to catch _Dependency creation with 'to' as non-task")
    except:
        assert True