Skip to content

Commit

Permalink
test: Add pytest-recording cassettes
Browse files Browse the repository at this point in the history
  • Loading branch information
ecalifornica committed Sep 18, 2023
1 parent 8248c55 commit 9a9d508
Show file tree
Hide file tree
Showing 29 changed files with 5,960 additions and 0 deletions.
717 changes: 717 additions & 0 deletions tests/cassettes/test_hgvs_extras_babelfish/test_hgvs_to_vcf.yaml

Large diffs are not rendered by default.

199 changes: 199 additions & 0 deletions tests/cassettes/test_hgvs_variantmapper/test_add_gene_symbol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: GET
uri: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=NC_000007.13&rettype=fasta&seq_start=21940852&seq_stop=21940908&tool=bioutils&email=biocommons-dev@googlegroups.com
response:
body:
string: !!binary |
H4sIAAAAAAAAACyKwQrCMBBE7/mK/QAtSaOk9SAse1hPIpK7VAm00JiSPfXv3Rbn8JjhzfVOL7sl
NM5fWtefbHduj3vpbQe3kgvIsEzpK/AZq04pOUE4AD9p9KFZnIdHnfJQV0CRlN/zapgiRYUSGZGJ
o3IDoQomVEW7pf+VGTmyMT8AAAD//wMAgcqFPJIAAAA=
headers:
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit,X-RateLimit-Remaining
Cache-Control:
- private
Connection:
- Keep-Alive
Content-Disposition:
- attachment; filename="sequence.fasta"
Content-Security-Policy:
- upgrade-insecure-requests
Content-Type:
- text/plain
Date:
- Fri, 15 Sep 2023 22:55:11 GMT
Keep-Alive:
- timeout=4, max=40
NCBI-PHID:
- D0BD088E3BFC1F95000027D342CD3AA1.1.1.m_5
NCBI-SID:
- 5E15FE75BF75F081_EF40SID
Referrer-Policy:
- origin-when-cross-origin
Server:
- Finatra
Set-Cookie:
- ncbi_sid=5E15FE75BF75F081_EF40SID; domain=.nih.gov; path=/; expires=Sun, 15
Sep 2024 22:55:12 GMT
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-RateLimit-Limit:
- '3'
X-RateLimit-Remaining:
- '2'
X-UA-Compatible:
- IE=Edge
X-XSS-Protection:
- 1; mode=block
content-encoding:
- gzip
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: GET
uri: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=NM_003777.3&rettype=fasta&seq_start=13583&seq_stop=13639&tool=bioutils&email=biocommons-dev@googlegroups.com
response:
body:
string: !!binary |
H4sIAAAAAAAAACzKsQoCMQyA4b1PkVHhlAtBqw5CiJBb7CDdpWjhCrYVDsR7e6u4fMv/H9352vdk
rV3TAWmzoxXSlvYw1FxhCs8UywT3ucRUOgjvWmIOjw7GGF4z3MaQCiDC4uR4QFx2kC+OjYoX32iy
Mquob34RbkGFW5Jflf+qyurVmA8AAAD//wMAvVGMaZEAAAA=
headers:
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit,X-RateLimit-Remaining
Cache-Control:
- private
Connection:
- Keep-Alive
Content-Disposition:
- attachment; filename="sequence.fasta"
Content-Security-Policy:
- upgrade-insecure-requests
Content-Type:
- text/plain
Date:
- Fri, 15 Sep 2023 22:55:16 GMT
Keep-Alive:
- timeout=4, max=40
NCBI-PHID:
- D0BD088E3BFC1F9500004ED35B50876A.1.1.m_5
NCBI-SID:
- FCDA44B12F41665D_36D6SID
Referrer-Policy:
- origin-when-cross-origin
Server:
- Finatra
Set-Cookie:
- ncbi_sid=FCDA44B12F41665D_36D6SID; domain=.nih.gov; path=/; expires=Sun, 15
Sep 2024 22:55:16 GMT
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-RateLimit-Limit:
- '3'
X-RateLimit-Remaining:
- '2'
X-UA-Compatible:
- IE=Edge
X-XSS-Protection:
- 1; mode=block
content-encoding:
- gzip
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: GET
uri: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=NM_003777.3&rettype=fasta&seq_start=13639&seq_stop=13639&tool=bioutils&email=biocommons-dev@googlegroups.com
response:
body:
string: !!binary |
H4sIAAAAAAAAALLz8403MDA2NzfXM7YyNDYzttQFkwoe+bn5CsWJBZmpecUKKZV5qZl5OgqJFfl5
qbmJOToKGamJZZUKyRmJmXkKhoYKGi5+jh6Ghpo6CrlBfo5c7lxcAAAAAP//AwDevCrBWQAAAA==
headers:
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-RateLimit-Limit,X-RateLimit-Remaining
Cache-Control:
- private
Connection:
- Keep-Alive
Content-Disposition:
- attachment; filename="sequence.fasta"
Content-Security-Policy:
- upgrade-insecure-requests
Content-Type:
- text/plain
Date:
- Fri, 15 Sep 2023 22:55:19 GMT
Keep-Alive:
- timeout=4, max=40
NCBI-PHID:
- D0BD088E3BFC1F95000050D37376716A.1.1.m_5
NCBI-SID:
- A6329ACD128DFC2C_9424SID
Referrer-Policy:
- origin-when-cross-origin
Server:
- Finatra
Set-Cookie:
- ncbi_sid=A6329ACD128DFC2C_9424SID; domain=.nih.gov; path=/; expires=Sun, 15
Sep 2024 22:55:20 GMT
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-RateLimit-Limit:
- '3'
X-RateLimit-Remaining:
- '2'
X-UA-Compatible:
- IE=Edge
X-XSS-Protection:
- 1; mode=block
content-encoding:
- gzip
status:
code: 200
message: OK
version: 1
Loading

0 comments on commit 9a9d508

Please sign in to comment.