Skip to content

Commit

Permalink
Drop incomplete test
Browse files Browse the repository at this point in the history
No assert (only TODO); but would test SQLAlchemy
  • Loading branch information
jdavcs committed Mar 7, 2024
1 parent 76632e3 commit 74a59ee
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/unit/data/test_galaxy_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,26 +123,6 @@ def test_dataset_instance_order(self) -> None:
assert all(d.name == f"forward_{i}" for i, d in enumerate(forward_hdas))
assert all(d.name == f"reverse_{i}" for i, d in enumerate(reverse_hdas))

def test_collections_in_library_folders(self):
u = model.User(email="[email protected]", password="password")
lf = model.LibraryFolder(name="RootFolder")
library = model.Library(name="Library1", root_folder=lf)
ld1 = model.LibraryDataset()
ld2 = model.LibraryDataset()

ldda1 = model.LibraryDatasetDatasetAssociation(extension="txt", library_dataset=ld1)
ldda2 = model.LibraryDatasetDatasetAssociation(extension="txt", library_dataset=ld1)

c1 = model.DatasetCollection(collection_type="pair")
dce1 = model.DatasetCollectionElement(collection=c1, element=ldda1)
dce2 = model.DatasetCollectionElement(collection=c1, element=ldda2)
self.persist(u, library, lf, ld1, ld2, c1, ldda1, ldda2, dce1, dce2)

# TODO:
# loaded_dataset_collection = self.query( model.DatasetCollection ).filter( model.DatasetCollection.name == "LibraryCollectionTest1" ).first()
# assert len(loaded_dataset_collection.datasets) == 2
# assert loaded_dataset_collection.collection_type == "pair"

def test_nested_collection_attributes(self):
u = model.User(email="[email protected]", password="password")
h1 = model.History(name="History 1", user=u)
Expand Down

0 comments on commit 74a59ee

Please sign in to comment.