Skip to content

Commit

Permalink
fix(fw): fix fetch container.kind in eof_test
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Jun 26, 2024
1 parent 1b9ebe0 commit b08db3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ethereum_test_tools/spec/eof/eof_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ def check_container_exception(cls, data: Any) -> Any:
)
if expect_exception is None:
data["expect_exception"] = container.validity_error
if "container_kind" in container.model_fields_set:
if "kind" in container.model_fields_set:
if container_kind is not None:
assert str(container.kind) == container_kind, (
assert container.kind == container_kind, (
f"Container kind type {str(container.kind)} "
f"does not match test {container_kind}."
)
if container.kind != ContainerKind.RUNTIME:
data["container_kind"] = str(container.kind)
data["container_kind"] = container.kind
return data

@classmethod
Expand Down

0 comments on commit b08db3b

Please sign in to comment.