Skip to content

Commit bb117e3

Browse files
committed
Remove token tests
1 parent 9c39f88 commit bb117e3

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

tools/swissmodel_modelling_api/swissmodel_api.xml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,6 @@ sequence.
154154
<has_line line="SWISS-MODEL token is not provided in credentials!"/>
155155
</assert_stderr>
156156
</test>
157-
<!-- sequence and token (complete automodel job), fail (no real token) -->
158-
<test expect_exit_code="1" expect_failure="true">
159-
<conditional name="project">
160-
<repeat name="target_list">
161-
<param name="sequence" value="MVVKAVCVINGDAKGTVFFEQESSGTPVKVSGEVCGL"/>
162-
</repeat>
163-
</conditional>
164-
<assert_stderr>
165-
<has_line line="RuntimeError: Submitting modelling job failed (401)"/>
166-
</assert_stderr>
167-
</test>
168157
<!-- alignment mode tests, as few params as possible, fail -->
169158
<test expect_exit_code="2" expect_failure="true">
170159
<conditional name="project">
@@ -230,21 +219,6 @@ sequence.
230219
<has_line line="SWISS-MODEL token is not provided in credentials!"/>
231220
</assert_stderr>
232221
</test>
233-
<!-- alignment mode tests, with token, fail -->
234-
<test expect_exit_code="1" expect_failure="true">
235-
<conditional name="project">
236-
<param name="assembly_id" value="0"/>
237-
<param name="auth_asym_id" value="A"/>
238-
<param name="pdb_id" value="1AKE"/>
239-
<param name="project_type" value="alignment"/>
240-
<param name="target_sequence" value="MVVKAVCVINGDAKGTVFFEQESSGTPVKVSG"/>
241-
<param name="template_seqres_offset" value="0"/>
242-
<param name="template_sequence" value="MVVKAVCVINGDAKGTVFFEQESSGTPV"/>
243-
</conditional>
244-
<assert_stderr>
245-
<has_line line="RuntimeError: Submitting modelling job failed (401)"/>
246-
</assert_stderr>
247-
</test>
248222
<!-- usertemplate mode tests, as few params as possible, fail -->
249223
<test expect_exit_code="2" expect_failure="true">
250224
<conditional name="project">
@@ -271,22 +245,6 @@ sequence.
271245
<has_line line="SWISS-MODEL token is not provided in credentials!"/>
272246
</assert_stderr>
273247
</test>
274-
<!-- usertemplate mode tests, with token, fail -->
275-
<test expect_exit_code="1" expect_failure="true">
276-
<conditional name="project">
277-
<param name="project_type" value="usertemplate"/>
278-
<param name="template_file" value="model_01.pdb"/>
279-
<repeat name="target_list">
280-
<param name="sequence" value="MVVKAVCVINGDAKGTVFFEQESSGTPVKVSGEVCGL"/>
281-
</repeat>
282-
<repeat name="target_list">
283-
<param name="sequence" value="AKGLHGFHVHEFGDNTNGCMSSGPHFNPYGKE"/>
284-
</repeat>
285-
</conditional>
286-
<assert_stderr>
287-
<has_line line="RuntimeError: Submitting modelling job failed (401)"/>
288-
</assert_stderr>
289-
</test>
290248
</tests>
291249
<help><![CDATA[
292250
The SWISS-MODEL Modelling API tool gives you convenient access to homology models build by `SWISS-MODEL <https://swissmodel.expasy.org>`_ via our `API <https://swissmodel.expasy.org/docs/help#modelling_api>`_.

0 commit comments

Comments
 (0)