Skip to content

Commit 598e8db

Browse files
Remove pharmacogenetics filter test case
Removed a test case for pharmacogenetics filter with 'or' mode and updated expected results for existing tests.
1 parent 94e8300 commit 598e8db

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

tests/fixtures/test_opentargets.json

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@
4747
},
4848
"expected_result": "961ff37ddc5a0cf34de084df607d70e0"
4949
},
50-
"test_opentargets_pharmacogenetics_filter_or": {
51-
"type": "assert_equal_json_hash_nested",
52-
"args": {
53-
"ensembl_id": "ENSG00000130164",
54-
"resource": "pharmacogenetics",
55-
"filters": {
56-
"drug_id": [
57-
"CHEMBL1643",
58-
"CHEMBL24"
59-
]
60-
},
61-
"filter_mode": "or"
62-
},
63-
"expected_result": "fe7d213f9e819dc8e5ccf8984782bf38"
64-
},
6550
"test_opentargets_expression_no_limit": {
6651
"type": "assert_equal_json_hash",
6752
"args": {
@@ -115,7 +100,7 @@
115100
"ensembl_id": "ENSG00000169194",
116101
"resource": "interactions"
117102
},
118-
"expected_result": "87426de2adc0d83e6477a0eae579bec5"
103+
"expected_result": "441f1d3e9deedd7bba797f8aa7ddad61"
119104
},
120105
"test_opentargets_interactions_simple_filter": {
121106
"type": "assert_equal",
@@ -135,12 +120,12 @@
135120
"ENSG00000169194",
136121
"IL13",
137122
"unspecified role",
138-
9606,
123+
134,
139124
"P24394",
140125
"ENSG00000077238",
141126
"IL4R",
142127
"unspecified role",
143-
9606
128+
134
144129
],
145130
[
146131
2,
@@ -149,12 +134,12 @@
149134
"ENSG00000169194",
150135
"IL13",
151136
"regulator",
152-
9606,
137+
134,
153138
"P24394",
154139
"ENSG00000077238",
155140
"IL4R",
156141
"regulator target",
157-
9606
142+
134
158143
],
159144
[
160145
3,
@@ -163,12 +148,12 @@
163148
"ENSG00000169194",
164149
"IL13",
165150
"unspecified role",
166-
9606,
151+
134,
167152
"P24394",
168153
"ENSG00000077238",
169154
"IL4R",
170155
"unspecified role",
171-
9606
156+
134
172157
]
173158
]
174159
},

0 commit comments

Comments
 (0)