Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Jun 27, 2024
1 parent fcd0b74 commit b28b0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/nodes/test_npz.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_register_nodes(mock_grids_path: str, resolution: str):
assert graph["test_nodes"].x is not None
assert isinstance(graph["test_nodes"].x, torch.Tensor)
assert graph["test_nodes"].x.shape == (num_nodes, 2)
assert graph["test_nodes"].node_type == "NPZNodes"
assert graph["test_nodes"].node_type == "NPZFileNodeBuilder"


@pytest.mark.parametrize("attr_class", [UniformWeights, AreaWeights])
Expand Down
2 changes: 1 addition & 1 deletion tests/nodes/test_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_register_nodes(mocker, mock_zarr_dataset):
assert graph["test_nodes"].x is not None
assert isinstance(graph["test_nodes"].x, torch.Tensor)
assert graph["test_nodes"].x.shape == (node_builder.ds.num_nodes, 2)
assert graph["test_nodes"].node_type == "ZarrNodes"
assert graph["test_nodes"].node_type == "ZarrDatasetNodeBuilder"


@pytest.mark.parametrize("attr_class", [UniformWeights, AreaWeights])
Expand Down

0 comments on commit b28b0ff

Please sign in to comment.