Skip to content

Commit 1012c1e

Browse files
authored
update db_file ut case (#507)
## Summary <!-- Include a short paragraph of the changes introduced in this PR. If this PR requires additional context or rationale, explain why the changes are necessary. --> pytest tests/unit/data/deserializers/test_file.py::test_db_file_deserializer_success ## Details <!-- Provide a detailed list of all changes introduced in this pull request. --> - [ ] ## Test Plan <!-- List the steps needed to test this PR. --> - ## Related Issues <!-- Link any relevant issues that this PR addresses. --> - Resolves # --- - [ ] "I certify that all code in this PR is my own, except as noted below." ## Use of AI - [ ] Includes AI-assisted code completion - [ ] Includes code generated by an AI application - [ ] Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes `## WRITTEN BY AI ##`)
2 parents acebedd + 903174b commit 1012c1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/data/deserializers/test_file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_hdf5_file_deserializer_success(tmp_path):
284284
###################
285285

286286

287-
@pytest.mark.skip(reason="issue: #492")
287+
@pytest.mark.sanity
288288
def test_db_file_deserializer_success(monkeypatch, tmp_path):
289289
import sqlite3
290290

@@ -317,6 +317,7 @@ def mock_from_sql(sql, con, **kwargs):
317317
data=db_path,
318318
processor_factory=processor_factory(),
319319
random_seed=1,
320+
sql="SELECT * FROM samples",
320321
)
321322

322323
# Assert: result is of type Dataset

0 commit comments

Comments
 (0)