Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kjwinfield committed Jan 2, 2025
1 parent 89f06f8 commit 040b007
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions resources/home/dnanexus/tests/test_make_workbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ class TestWorkbook():
Tests for excel() class in make_workbook script
'''
summary_content = {}
panels = None
panels = {
'486': {
'rcode': 'R123',
'panel_name': 'Paediatric disorders'
}
}
wgs_data = {
"interpretation_request_data": {
"json_request": {
Expand Down Expand Up @@ -63,12 +68,6 @@ def test_get_panels(self):
}

def test_get_panels_extracts_data_from_input_panel_json(self):
self.panels = {
'486': {
'rcode': 'R123',
'panel_name': 'Paediatric disorders'
}
}
excel.get_panels(self)
assert self.summary_content == {
(14, 1): '486',
Expand Down Expand Up @@ -286,5 +285,5 @@ def test_get_ensp(self):
refseq_tsv = ["ENST0000033\tENSP0000044\tENSG00000022",
"ENST0000066\tENSP0000088\tENSG00000044"]
assert var_info.look_up_id_in_refseq_mane_conversion_file(
refseq_tsv, "ENST0000033", "ENST"
refseq_tsv, "ENST0000033", "ENSP"
) == "ENSP0000044"

0 comments on commit 040b007

Please sign in to comment.