Skip to content

Commit

Permalink
update test class names in test_project and test_sample
Browse files Browse the repository at this point in the history
  • Loading branch information
avrohomgottlieb committed Dec 6, 2024
1 parent dc90349 commit faf9636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/scpca_portal/test/models/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from scpca_portal.test.factories import LibraryFactory, ProjectFactory


class TestGetProjectLibrariesFromDownloadConfig(TestCase):
class TestGetLibraries(TestCase):
def setUp(self):
self.project = ProjectFactory(has_multiplexed_data=True)
self.library_single_cell_no_multiplexed = LibraryFactory(
Expand Down
4 changes: 2 additions & 2 deletions api/scpca_portal/test/models/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from scpca_portal.test.factories import LibraryFactory, SampleFactory


class TestGetSampleLibrariesFromDownloadConfig(TestCase):
class TestGetLibraries(TestCase):
def setUp(self):
self.sample = SampleFactory()

Expand Down Expand Up @@ -42,7 +42,7 @@ def test_get_libraries_all_configs(self):
for library in self.libraries.get(config["modality"]).get(config["format"]):
self.assertIn(library, result)

def test_get_libraries_invalid_configuration(self):
def test_get_libraries_invalid_config(self):
invalid_config = {"modality": None, "format": None}
with self.assertRaises(ValueError):
self.sample.get_libraries(invalid_config)
Expand Down

0 comments on commit faf9636

Please sign in to comment.