1428 lines
85 KiB
Plaintext
1428 lines
85 KiB
Plaintext
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.............................. [ 44%]
|
|
........................................................................ [ 88%]
|
|
...F.............. [100%]
|
|
=================================== FAILURES ===================================
|
|
______________ test_each_saved_position_and_citation[1.vae_name] _______________
|
|
|
|
f = {'node_id': '1', 'definition_node_id': '1', 'scope': 'root', 'class_type': 'VAELoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
________________ test_each_saved_position_and_citation[7.text] _________________
|
|
|
|
f = {'node_id': '7', 'definition_node_id': '7', 'scope': 'root', 'class_type': 'CLIPTextEncode', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_______________ test_each_saved_position_and_citation[18.Number] _______________
|
|
|
|
f = {'node_id': '18', 'definition_node_id': '18', 'scope': 'root', 'class_type': 'Int', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/literals__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/literals__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
________________ test_each_saved_position_and_citation[2.shift] ________________
|
|
|
|
f = {'node_id': '2', 'definition_node_id': '2', 'scope': 'root', 'class_type': 'ModelSamplingAuraFlow', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/patch__comfy_extras__nodes_model_advanced.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/patch__comfy_extras__nodes_model_advanced.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_______________ test_each_saved_position_and_citation[19.shift] ________________
|
|
|
|
f = {'node_id': '19', 'definition_node_id': '19', 'scope': 'root', 'class_type': 'ModelSamplingAuraFlow', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/patch__comfy_extras__nodes_model_advanced.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/patch__comfy_extras__nodes_model_advanced.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_______________ test_each_saved_position_and_citation[10.width] ________________
|
|
|
|
f = {'node_id': '10', 'definition_node_id': '10', 'scope': 'root', 'class_type': 'EmptyLatentImage', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_______________ test_each_saved_position_and_citation[10.height] _______________
|
|
|
|
f = {'node_id': '10', 'definition_node_id': '10', 'scope': 'root', 'class_type': 'EmptyLatentImage', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[10.batch_size] _____________
|
|
|
|
f = {'node_id': '10', 'definition_node_id': '10', 'scope': 'root', 'class_type': 'EmptyLatentImage', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
________________ test_each_saved_position_and_citation[43.seed] ________________
|
|
|
|
f = {'node_id': '43', 'definition_node_id': '43', 'scope': 'root', 'class_type': 'Seed (rgthree)', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
___________ test_each_saved_position_and_citation[43.random_button] ____________
|
|
|
|
f = {'node_id': '43', 'definition_node_id': '43', 'scope': 'root', 'class_type': 'Seed (rgthree)', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
____________ test_each_saved_position_and_citation[43.fixed_button] ____________
|
|
|
|
f = {'node_id': '43', 'definition_node_id': '43', 'scope': 'root', 'class_type': 'Seed (rgthree)', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
____________ test_each_saved_position_and_citation[43.last_button] _____________
|
|
|
|
f = {'node_id': '43', 'definition_node_id': '43', 'scope': 'root', 'class_type': 'Seed (rgthree)', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/rgthree__py__seed.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_______________ test_each_saved_position_and_citation[17.Number] _______________
|
|
|
|
f = {'node_id': '17', 'definition_node_id': '17', 'scope': 'root', 'class_type': 'Int', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/literals__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/literals__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_____________ test_each_saved_position_and_citation[13.add_noise] ______________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[13.noise_seed] _____________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_______ test_each_saved_position_and_citation[13.control_after_generate] _______
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_______________ test_each_saved_position_and_citation[13.steps] ________________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
________________ test_each_saved_position_and_citation[13.cfg] _________________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
____________ test_each_saved_position_and_citation[13.sampler_name] ____________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[13.scheduler] ______________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
___________ test_each_saved_position_and_citation[13.start_at_step] ____________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
____________ test_each_saved_position_and_citation[13.end_at_step] _____________
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____ test_each_saved_position_and_citation[13.return_with_leftover_noise] _____
|
|
|
|
f = {'node_id': '13', 'definition_node_id': '13', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
______________ test_each_saved_position_and_citation[6.clip_name] ______________
|
|
|
|
f = {'node_id': '6', 'definition_node_id': '6', 'scope': 'root', 'class_type': 'CLIPLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
________________ test_each_saved_position_and_citation[6.type] _________________
|
|
|
|
f = {'node_id': '6', 'definition_node_id': '6', 'scope': 'root', 'class_type': 'CLIPLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_______________ test_each_saved_position_and_citation[6.device] ________________
|
|
|
|
f = {'node_id': '6', 'definition_node_id': '6', 'scope': 'root', 'class_type': 'CLIPLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_____________ test_each_saved_position_and_citation[12.add_noise] ______________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[12.noise_seed] _____________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_______ test_each_saved_position_and_citation[12.control_after_generate] _______
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_______________ test_each_saved_position_and_citation[12.steps] ________________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
________________ test_each_saved_position_and_citation[12.cfg] _________________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
____________ test_each_saved_position_and_citation[12.sampler_name] ____________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[12.scheduler] ______________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
___________ test_each_saved_position_and_citation[12.start_at_step] ____________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
____________ test_each_saved_position_and_citation[12.end_at_step] _____________
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____ test_each_saved_position_and_citation[12.return_with_leftover_noise] _____
|
|
|
|
f = {'node_id': '12', 'definition_node_id': '12', 'scope': 'root', 'class_type': 'KSamplerAdvanced', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
__________ test_each_saved_position_and_citation[35.filename_prefix] ___________
|
|
|
|
f = {'node_id': '35', 'definition_node_id': '35', 'scope': 'root', 'class_type': 'SaveImage', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
> assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
|
E AssertionError: assert 'c922eb57ed90...1d87e078f34cc' == '632f65a1e33c...a2d6431a4a75f'
|
|
E
|
|
E - 632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f
|
|
E + c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:47: AssertionError
|
|
_____________ test_each_saved_position_and_citation[14.unet_name] ______________
|
|
|
|
f = {'node_id': '14', 'definition_node_id': '14', 'scope': 'root', 'class_type': 'UNETLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
____________ test_each_saved_position_and_citation[14.weight_dtype] ____________
|
|
|
|
f = {'node_id': '14', 'definition_node_id': '14', 'scope': 'root', 'class_type': 'UNETLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
________________ test_each_saved_position_and_citation[5.text] _________________
|
|
|
|
f = {'node_id': '5', 'definition_node_id': '5', 'scope': 'root', 'class_type': 'CLIPTextEncode', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
_____________ test_each_saved_position_and_citation[15.unet_name] ______________
|
|
|
|
f = {'node_id': '15', 'definition_node_id': '15', 'scope': 'root', 'class_type': 'UNETLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
____________ test_each_saved_position_and_citation[15.weight_dtype] ____________
|
|
|
|
f = {'node_id': '15', 'definition_node_id': '15', 'scope': 'root', 'class_type': 'UNETLoader', ...}
|
|
|
|
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
|
def test_each_saved_position_and_citation(f):
|
|
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
|
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
|
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
|
|
assert all(
|
|
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
|
)
|
|
if f["input_pointer"].startswith("/"):
|
|
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
|
for i in f["evidence"]:
|
|
e = BLOCK["sources"][i]
|
|
> raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:46:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
______________________ test_exact_build_and_qualification ______________________
|
|
|
|
def test_exact_build_and_qualification():
|
|
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
|
|
BLOCK
|
|
)
|
|
assert len(DEFINITIONS) == 62 and doc()["fixed_version"]["matched"]
|
|
assert BLOCK["counts"]["saved_fields"] == BLOCK["counts"]["root_saved_fields"] == 42
|
|
assert BLOCK["counts"]["source_notes"] == 0 and BLOCK["comments"] == []
|
|
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
|
|
sys.path.insert(0, str(OUT))
|
|
try:
|
|
> runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
|
|
|
|
calliope-backend/tests/test_zimage_dual_fixed_document.py:95:
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
docs/hel-892/zimage-dual-document-evidence/verify_sources.py:87: in main
|
|
raw = (OUT / e["local_file"]).read_bytes()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1019: in read_bytes
|
|
with self.open(mode='rb') as f:
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
|
|
self = PosixPath('/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py')
|
|
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None
|
|
|
|
def open(self, mode='r', buffering=-1, encoding=None,
|
|
errors=None, newline=None):
|
|
"""
|
|
Open the file pointed to by this path and return a file object, as
|
|
the built-in open() function does.
|
|
"""
|
|
if "b" not in mode:
|
|
encoding = io.text_encoding(encoding)
|
|
> return io.open(self, mode, buffering, encoding, errors, newline)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
E FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/docs/hel-892/zimage-dual-document-evidence/../zimage-reference/load__nodes.py'
|
|
|
|
/home/xiaomo/.local/share/uv/python/cpython-3.12.14-linux-x86_64-gnu/lib/python3.12/pathlib.py:1013: FileNotFoundError
|
|
=============================== warnings summary ===============================
|
|
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
|
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f14e27deca8d/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
|
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
|
|
|
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
|
=========================== short test summary info ============================
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[1.vae_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[7.text]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[18.Number]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[2.shift]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[19.shift]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[10.width]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[10.height]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[10.batch_size]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[43.seed]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[43.random_button]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[43.fixed_button]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[43.last_button]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[17.Number]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.add_noise]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.noise_seed]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.control_after_generate]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.steps]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.cfg]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.sampler_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.scheduler]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.start_at_step]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.end_at_step]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[13.return_with_leftover_noise]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[6.clip_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[6.type]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[6.device]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.add_noise]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.noise_seed]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.control_after_generate]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.steps]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.cfg]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.sampler_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.scheduler]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.start_at_step]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.end_at_step]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[12.return_with_leftover_noise]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[35.filename_prefix]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[14.unet_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[14.weight_dtype]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[5.text]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[15.unet_name]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_each_saved_position_and_citation[15.weight_dtype]
|
|
FAILED calliope-backend/tests/test_zimage_dual_fixed_document.py::test_exact_build_and_qualification
|
|
43 failed, 119 passed, 1 warning in 5.18s
|