Skip to content

Commit 48d0554

Browse files
committed
Exercise ProjectInsightsLayer.get_project_insights_details()
Invoke this in a test case; for now, we don't validate the results as it returns [] as we haven't set up enough data to get a proper result.
1 parent 1ac0ef2 commit 48d0554

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test_project_insights.py

+11
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,14 @@ async def test_project_insights_summary(self):
111111
]
112112

113113
self.assertEqual(result, expected)
114+
115+
@run_as_sync
116+
async def test_project_insights_details(self):
117+
"""Test getting the details for all available projects"""
118+
119+
await self.partl.upsert_participant(get_test_participant())
120+
121+
# There's not enough data set up to usefully verify the result
122+
_ = await self.pil.get_project_insights_details(
123+
project_names=[self.project_name], sequencing_types=['genome', 'exome']
124+
)

0 commit comments

Comments
 (0)