def test06(): try: _ = _Dependency("other", NullTask("nt")) raise Exception("Failed to catch _Dependency creation with 'from' as non-task") except: assert True
def test05(): try: _ = _Dependency(NullTask("nt"), "other") raise Exception("Failed to catch _Dependency creation with 'to' as non-task") except: assert True