Skip to content

Commit

Permalink
🎨 Fix one more test
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Dec 9, 2024
1 parent 2e99fc9 commit 9dc8cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/test_curator.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,14 @@ def test_soma_curator(adata, categoricals):
categoricals={"invalid_key": bt.CellType.name},
)

with pytest.raises(ValidationError, match="key passed to var_index is not allowed"):
with pytest.raises(ValidationError, match="key passed to var_index is not present"):
ln.Curator.from_tiledbsoma(
"curate.tiledbsoma",
{"RNA": ("invalid_key", bt.Gene.symbol)},
categoricals={"cell_type": bt.CellType.name},
)

with pytest.raises(ValidationError, match="key passed to sources is not allowed"):
with pytest.raises(ValidationError, match="key passed to sources is not present"):
ln.Curator.from_tiledbsoma(
"curate.tiledbsoma",
{"RNA": ("var_id", bt.Gene.symbol)},
Expand Down

0 comments on commit 9dc8cdc

Please sign in to comment.