Skip to content

Commit 5a49a57

Browse files
committed
Fix tests
1 parent 933621e commit 5a49a57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_real.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def test_real_txdb_workflow(tmp_path):
1111
registry = TxDbRegistry(cache_dir=tmp_path / "cache")
12-
txdb_id = "TxDb.Celegans.UCSC.ce11.ensGene.sqlite"
12+
txdb_id = "TxDb.Celegans.UCSC.ce11.ensGene"
1313

1414
assert txdb_id in registry.list_txdb()
1515

tests/test_registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def registry(tmp_path):
3838

3939
def test_registry_init(registry):
4040
assert isinstance(registry, TxDbRegistry)
41-
assert "TxDb.Mmusculus.UCSC.mm10.knownGene.sqlite" in registry.list_txdb()
41+
assert "TxDb.Mmusculus.UCSC.mm10.knownGene" in registry.list_txdb()
4242

4343

4444
# @patch("txdb.txdbregistry.BiocFileCache")
@@ -55,7 +55,7 @@ def test_registry_init(registry):
5555
# registry._bfc = mock_bfc
5656

5757
# # Test load_db
58-
# txdb = registry.load_db("TxDb.Mmusculus.UCSC.mm10.knownGene.sqlite")
58+
# txdb = registry.load_db("TxDb.Mmusculus.UCSC.mm10.knownGene")
5959

6060
# assert isinstance(txdb, TxDb)
6161
# assert txdb.dbpath == mock_db_file

0 commit comments

Comments
 (0)