Commit 02749809 authored by Sreenath Sasidharan Nair's avatar Sreenath Sasidharan Nair

Merge branch 'production_ready' into 'master'

PDBE-3759: Changed P0000 as fake uniprot id

See merge request pdbe-kb/services/pdbe-graph-api!403
parents e9773570 bc52de0a
......@@ -27,7 +27,7 @@ stages:
# - name: Make sure binding sites calls for an invalid UniProt accession errors out
# request:
# url: "{host}/pdb/binding_sites_uniprot/P00000"
# url: "{host}/pdb/binding_sites_uniprot/{invalid_uniprot_accession}"
# method: GET
# response:
# status_code: 404
......
......@@ -140,7 +140,7 @@ stages:
- name: Make sure best structures calls for an invalid UniProt accession errors out
request:
url: "{host}/mappings/best_structures/P00000"
url: "{host}/mappings/best_structures/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -154,7 +154,7 @@ stages:
- name: Make sure best structures calls for an invalid UniProt residue range errors out
request:
url: "{host}/mappings/best_structures/P00000/1/10"
url: "{host}/mappings/best_structures/{invalid_uniprot_accession}/1/10"
method: GET
response:
status_code: 404
......@@ -253,7 +253,7 @@ stages:
- name: Make sure uniprot to pfam mapping calls for an invalid UniProt accession errors out
request:
url: "{host}/mappings/uniprot_to_pfam/P00000"
url: "{host}/mappings/uniprot_to_pfam/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......
......@@ -13,7 +13,7 @@ stages:
- name: Make sure mappings calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/P00000"
url: "{host}/uniprot/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -27,7 +27,7 @@ stages:
- name: Make sure mappings calls for an invalid UniProt residue errors out
request:
url: "{host}/uniprot/P00000/10"
url: "{host}/uniprot/{invalid_uniprot_accession}/10"
method: GET
response:
status_code: 404
......@@ -41,7 +41,7 @@ stages:
- name: Make sure protvista unipdb calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/protvista/unipdb/P00000"
url: "{host}/uniprot/protvista/unipdb/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -55,7 +55,7 @@ stages:
- name: Make sure domains calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/domains/P00000"
url: "{host}/uniprot/domains/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -69,7 +69,7 @@ stages:
- name: Make sure secondary structures calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/secondary_structures/P00000"
url: "{host}/uniprot/secondary_structures/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -83,7 +83,7 @@ stages:
- name: Make sure interaction partners calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/interaction_partners/P00000"
url: "{host}/uniprot/interaction_partners/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -97,7 +97,7 @@ stages:
- name: Make sure ligands calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/ligands/P00000"
url: "{host}/uniprot/ligands/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -111,7 +111,7 @@ stages:
- name: Make sure best non overlapping structures calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/best_non_overlapping_structures/P00000"
url: "{host}/uniprot/best_non_overlapping_structures/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -125,7 +125,7 @@ stages:
- name: Make sure summary stats calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/summary_stats/P00000"
url: "{host}/uniprot/summary_stats/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -139,7 +139,7 @@ stages:
- name: Make sure similar proteins calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/similar_proteins/P00000"
url: "{host}/uniprot/similar_proteins/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -153,7 +153,7 @@ stages:
- name: Make sure sequence conservation calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/sequence_conservation/P00000"
url: "{host}/uniprot/sequence_conservation/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -167,7 +167,7 @@ stages:
- name: Make sure generic interface residues calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/interface_residues/P00000"
url: "{host}/uniprot/interface_residues/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -181,7 +181,7 @@ stages:
- name: Make sure generic ligand binding residues calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/ligand_sites/P00000"
url: "{host}/uniprot/ligand_sites/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -195,7 +195,7 @@ stages:
- name: Make sure variation calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/variation/P00000"
url: "{host}/uniprot/variation/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
......@@ -209,7 +209,35 @@ stages:
- name: Make sure similar identical proteins calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/similar_proteins/P00000/85"
url: "{host}/uniprot/similar_proteins/{invalid_uniprot_accession}/85"
method: GET
response:
status_code: 404
# - name: Make sure superposition calls for a valid UniProt accession does not errors out
# request:
# url: "{host}/uniprot/superposition/P07550"
# method: GET
# response:
# status_code: 200
# - name: Make sure superposition calls for an invalid UniProt accession errors out
# request:
# url: "{host}/uniprot/superposition/{invalid_uniprot_accession}"
# method: GET
# response:
# status_code: 404
- name: Make sure processed proteins calls for a valid UniProt accession does not errors out
request:
url: "{host}/uniprot/processed_proteins/P0DTD1"
method: GET
response:
status_code: 200
- name: Make sure processed proteins calls for an invalid UniProt accession errors out
request:
url: "{host}/uniprot/processed_proteins/{invalid_uniprot_accession}"
method: GET
response:
status_code: 404
\ No newline at end of file
......@@ -8,4 +8,5 @@ variables:
host: "{tavern.env_vars.HOST}"
invalid_pdb_entry: "1x00"
invalid_hetcode: "ZZZZ"
invalid_pdb_entity: "1x00/0"
\ No newline at end of file
invalid_pdb_entity: "1x00/0"
invalid_uniprot_accession: "INVALIDPROTEIN"
[{
"accession": "P00000",
"accession": "INVALIDPROTEIN",
"positions": ["16", "17", "20", "100"]
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment