Skip to content

Commit

Permalink
Also exercise ParticipantLayer.get_seqr_individual_template() in test…
Browse files Browse the repository at this point in the history
… case
  • Loading branch information
jmarshall committed Jun 19, 2024
1 parent 38e7f1a commit b3c5e28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test_get_participants.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@ async def test_get_participant_by_eid(self):
self.assertEqual(self.ex02, ps[0].external_ids)
self.assertEqual(2, ps[0].meta['field'])
self.assertEqual('XY', ps[0].karyotype)

@run_as_sync
async def test_get_seqr_individual_template(self):
"""Test get_seqr_individual_template() method"""
pl = ParticipantLayer(self.connection)
template = await pl.get_seqr_individual_template(project=1)

self.assertIn('headers', template)
self.assertIn('header_map', template)
self.assertIn('rows', template)

0 comments on commit b3c5e28

Please sign in to comment.