File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
server/tests/unit/transformers Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def test_normalize_condition(
101101def test_normalize_therapeutic (
102102 transformer : Transformer , unnormalized_therapeutics : dict [str , Therapeutic ]
103103):
104- # TODO maybe these need IDs added first?
104+ # TODO maybe these need IDs added first? we'll see if they pass
105105 result = transformer ._normalize_therapeutic (
106106 unnormalized_therapeutics ["moa_bosutinib" ]
107107 )
@@ -137,6 +137,10 @@ def test_normalize_therapeutic(
137137 )
138138
139139
140- def test_build_aggregate_statement (transformer : Transformer ):
140+ @pytest .mark .asyncio
141+ async def test_build_aggregate_statement (transformer : Transformer ):
141142 # maybe one for each type of statement
142- pass
143+ statement = None # TODO
144+ result = await transformer ._build_aggregated_diag_statement (statement )
145+ assert result is not None
146+ assert result .id == "metakb.assertion:"
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ def test_normalize_variant():
77
88@pytest .mark .ci_ok
99def test_civic_claim_to_statement ():
10- # TODO find something that fails each error case
10+ # TODO construct a case for each kind of valid input
11+ # TODO esp find something that fails each error case
1112 pass
1213
1314
You can’t perform that action at this time.
0 commit comments