Skip to content

Commit

Permalink
Use vcrpy for other relevant tests
Browse files Browse the repository at this point in the history
Same reasoning as for tests/test_matching.py::test_ytmusic_matching --
this makes the tests more robust to API rate-limiting and denoises them
from network problems. After all -- we're testing *our* behaviour wrt
the APIs, not the general reliability of these workloads.

- tests/test_init.py::test_get_urls
- tests/utils/test_m3u.py::test_create_m3u_content
- tests/utils/test_m3u.py::test_create_m3u_file
- tests/utils/test_search.py::test_parse_query
  • Loading branch information
hseg committed Jul 4, 2024
1 parent 916b8d5 commit 89dbf8d
Show file tree
Hide file tree
Showing 7 changed files with 5,168 additions and 0 deletions.
346 changes: 346 additions & 0 deletions tests/cassettes/test_init/test_get_urls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,346 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQA1v9Iw8RY2EzvNEIklEw5kXL17QYzIdbJK90rE4LbZKi-JOtsI0jOZFYK1rrwttPB60Unx8c0VXLbO9B2hvmoQTq5SzP3G87GJgh_B3l_IYsjgbiw
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/tracks/0kx3ml8bdAYrQtcIwvkhp8
response:
body:
string: !!binary |
H4sIAAAAAAAAAKRU226bQBB971cgnpMAi8GEN7dpq6hVWleyqrSq0C4sZuvlot3Fl0T+98KyQOwY
X1LemDOcGc6cmed3mqZDispU13ztuXpr3wOxKXAd1DnJ5hTrVwpkgnDBa+S3+qCK4rXALIM0KBnl
PZXEeJELEm8kVyJEwX3DyAuc3SjgJsxTo6E1ADS/3z99Kh7/Jt8guvsRztJZNtUV2faqrZcwHO8Q
woLs8C0tRcmHODsuEkmmU2kZTBs9JogLBheihzqpmpI9UDLSSNh05je4f+wvt9qfVuklJBQiioMU
sgVuNW/hQcnPFLwesuHcejEC5iaeOOAnmE8f8g+zX19UJ6rQWVrXbHyIThEpoU8kpXCO9+2VYDJP
RB10R+YLdelOX1VXYZRVLRmSxIDIHbuWG5nVg8DYHjmxgyBwbHTrAQfHoeehENhuP68ViUSiyigN
DjVhm29rwsImuKCJqsyRJtzRm3oYeY51kRB7ruzW4CFHebTRPlLe3QaGKYYcBxEUTQ4wAbg27Wtr
fCglKBgOCSd5JpMjuGmzRC4qY1dbFi6kFaw23i2aPFkq+mrLatAftrY09qFD9t87dfqIXbRU5xyw
s87X4PEaOF2XHy5lkKNHS48ID4OsTBFm3VT1qGRQVB4I0mbULhiZrkTwuqAkJNLtMax8pqJqRiR6
MSKdcBbKlj+/B1/vALAqr4/7aQ9M9ry5SiMa5mJtp9RD0eSRTUV4v1ouksLrS5wz0sbSQ1SSRs3z
aAoPaB5CuivM4GbqRV6UFDIi5H+aTYzhJcGrQN2OrKRUxmWHr4bU2UTCDeu+RyTkD6m0/QcAAP//
AwDhAQ0PawgAAA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Transfer-Encoding:
- chunked
Via:
- HTTP/2 edgeproxy, 1.1 google
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version,
X-Cloud-Trace-Context, client-token, content-access-token
access-control-allow-methods:
- GET, POST, OPTIONS, PUT, DELETE, PATCH
access-control-allow-origin:
- '*'
access-control-max-age:
- '604800'
cache-control:
- public, max-age=7200
content-encoding:
- gzip
content-type:
- application/json; charset=utf-8
date:
- Wed, 03 Jul 2024 19:14:21 GMT
server:
- envoy
strict-transport-security:
- max-age=31536000
x-content-type-options:
- nosniff
x-robots-tag:
- noindex, nofollow
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQA1v9Iw8RY2EzvNEIklEw5kXL17QYzIdbJK90rE4LbZKi-JOtsI0jOZFYK1rrwttPB60Unx8c0VXLbO9B2hvmoQTq5SzP3G87GJgh_B3l_IYsjgbiw
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/artists/2a0PIzFpYjhOabDRcUmUnQ
response:
body:
string: !!binary |
H4sIAAAAAAAAAJySX0vDMBTF3/0Upc9jbeqadn0TRPDJP7AHEZHbJl2jaRLS1DnHvrtpmo0NmYzl
Lefee36H5G6ugiCk34ZqAfy917wLgyLYWNXqnZKG1etBCRtjVFdEkVRUTH1hWsk2Am1YZ6IE4sf7
nzv18tE8QHn7XC3ahXgKrdF2MjBqyblcUX3o32haD1fRcz4ZJSMN8EFLkjzeDy+p0NRNvgZvTtmN
7nOBYkexvpBP1p2K5nwYcS7/trSw3MF3wSlbNmaQ8Cz2ye3bHQWycSoibJbIGURQ4gwjjGJ7aErL
EnKSznAdE6jpHCo8J1mWz0no/VaMmMYj3EP8hV8nl8BTlM3OhlvECTjCl8BrlOVnwy1igPsvF9BS
x7kpO6Ph04zfo6TqOWhm3J6i1IlmrcbecQfGzl4zp/k1KcZacWpzt78AAAD//wMA8QWJ3xwDAAA=
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Transfer-Encoding:
- chunked
Via:
- HTTP/2 edgeproxy, 1.1 google
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version,
X-Cloud-Trace-Context, client-token, content-access-token
access-control-allow-methods:
- GET, POST, OPTIONS, PUT, DELETE, PATCH
access-control-allow-origin:
- '*'
access-control-max-age:
- '604800'
cache-control:
- public, max-age=7200
content-encoding:
- gzip
content-type:
- application/json; charset=utf-8
date:
- Wed, 03 Jul 2024 19:14:51 GMT
server:
- envoy
strict-transport-security:
- max-age=31536000
x-content-type-options:
- nosniff
x-robots-tag:
- noindex, nofollow
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQA1v9Iw8RY2EzvNEIklEw5kXL17QYzIdbJK90rE4LbZKi-JOtsI0jOZFYK1rrwttPB60Unx8c0VXLbO9B2hvmoQTq5SzP3G87GJgh_B3l_IYsjgbiw
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/albums/598fb20yfA52W2gQNoCUZK
response:
body:
string: !!binary |
H4sIAAAAAAAAAKxVW2+bMBR+769APOypLZfEhESqpqrbpGpS126qpm6akAETvJiLbJMmrfrfZ2xw
QlMY65q3nHP4zu07nx+PDMOEJKyygG9LZBoLw2Q4XxJkHksX5ZhxVtt/Go/CImxowxHNIQkqSqRH
2YWHlQXHyVaipJyXbGFZRYny08ZxGhWZpSAtF9rXlw+fyrvf6RcYfvga3Wa3+Y0poZ6OVaaUoqQD
BkvcwVo7DRzrw2uQcCxxhoNymKkJnIeMU7jirUOPRiVrzRXFamCqooXyLvo7ezJ+qamuISYwJCjI
IF2hdr7KGRXlluJl+mzqXIxd9WC7rnF18e2guAuZ4nj8B9f7Nemt4nhvqWZVRjIW2AA48zkAM3c2
VYmO+rkwkgk17yww95PQtbfJOXC/u8ubq+Li9sfnXYolyinqTGgULWps1gcuYRpODIZkcIm6e0hR
vZva5E1tTQTSqUdUE8W5KMWSABYMvZnneLEtfqE7m0xBAkLogkk4912Aksj3w8ideO2G7nHM0yZF
Z6e75BP7NckdZLujk4sUPcm96StyT33g/EPje9QUp4JUnpbFu1O9KsIi3hofCWsUqyzKikCKuSSf
HJJJEUGQoSCGHOmTOLEnJ87MPAgISooizHCRy9AYblUML7jgudCFaCUZ4Sir/t9O6X/JaSnI90WS
MMTP7HcEZ5ifAVtrGUdZh5Mv6/SwVr+pXu9p9tvq9mjtHtTvAQ1/nY7LfhU51fQH9FwGxJhFQV5l
IaKaOspRUcgF1QK1Ucdzp7anvWhTEhxheXMJFBTf8/TuddxWJckse7WZZMQP4/M7esOjy/v1Ki19
3aJON2ahirZ9kBqq2eZfw1hAigiSw9Z7T196xfGuMboPGmXKK0K0T1b44ho0OWTIDu05M6R7MTQ1
TQtTnm39NWiVOm9e5F1RpjpyrVRtA0XFngVK9ZFF64dxx+haTpRIHVC5di36ntinPwAAAP//AwDu
ewIz/wkAAA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Transfer-Encoding:
- chunked
Via:
- HTTP/2 edgeproxy, 1.1 google
access-control-allow-credentials:
- 'true'
access-control-allow-headers:
- Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version,
X-Cloud-Trace-Context, client-token, content-access-token
access-control-allow-methods:
- GET, POST, OPTIONS, PUT, DELETE, PATCH
access-control-allow-origin:
- '*'
access-control-max-age:
- '604800'
cache-control:
- public, max-age=7200
content-encoding:
- gzip
content-type:
- application/json; charset=utf-8
date:
- Wed, 03 Jul 2024 19:14:51 GMT
server:
- envoy
strict-transport-security:
- max-age=31536000
x-content-type-options:
- nosniff
x-robots-tag:
- noindex, nofollow
status:
code: 200
message: OK
- request:
body: '{"query": "GB2LD2210007", "params": "EgWKAQIIAUICCAFqDBAOEAoQAxAEEAkQBQ%3D%3D",
"context": {"client": {"clientName": "WEB_REMIX", "clientVersion": "1.20240703.01.00",
"hl": "de"}, "user": {}}}'
headers:
Connection:
- keep-alive
Content-Length:
- '192'
Cookie:
- SOCS=CAI
accept:
- '*/*'
accept-encoding:
- gzip, deflate
content-encoding:
- gzip
content-type:
- application/json
origin:
- https://music.youtube.com
user-agent:
- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
method: POST
uri: https://music.youtube.com/youtubei/v1/search?alt=json
response:
body:
string: !!binary |
H4sIAAAAAAAC/+1d627iyLb+P0+BkPa/To/vl5FGRwZM4gQIBpN0+uwRMlAx7jg2jU0uvTXSPMjW
1tHRPMb8Ov0m8yRnVZUJl3CxDUkgjad7emHXWlW1aq2v1iqX7X/9lMvlhygcBH6IioEfoYco/0vu
X3AaLty5oRsFw5Id2XAyX3Si096n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WWpfpo7F5xedfX5ugSoXKtEwR66SFmjyfWQvV1q+23cHRS8Y9daqiRRdFXKtGJSnWopA
JB2Q8X3D1d5Niz3NhMSXmnrxvFbSGlcrTX6Vi2WJWJZHKYHZvmA2/ppxSL7jnSIowc/ODkngcVzg
KiX8FXmGkdegXmaNLbLYLXQ8WUA7E8QWK+erv0i3uiPpJ9VM8/BkBi67Ht41knAvY/YRcsPm5Gvs
5NZ5ephbVsHuOH9JL2utysrVgzWGnCQXTZp/ro/Gpm7pOyi0nQhNdqZs9lmsVcnlK6LfDQWB5m6g
37pQfOrFrLqDzjTTDLSSU7Cde7PU1850rWoWCtqprrXWvsp0u1i6BTW+PrTpQwd1fDcMUe4a75Cz
n9t4wlXzbcLeyuIj3wXLoclCKpc8YObrY2YxuL2FAYsej94XZjrU2d39xUxd2wHM3IIa3x4zF9j4
LmNmKpfcY8ysN4zqRinmW2EmeZLqXaBkl7r34x6i5CWgpGFol0FV1wSz2NdKOsBmsaGVXxMft6DA
18fHfz5DyGbgOxgTQ9RH/j/zOXsUOuj++599b83Lk7YEkHjFMDE+rnG/PUbEvY0iyUcW3kfgeEU8
urAjS43pIdF8a0jcggLfPmSkBj1GxB0MEtd53AEF32D90Uvw1vC9AMEW9eF9XHEkIHj11iC4BQW+
PQgSe95hDFzjbwcIfH0IfNrP/S5g0KRevI+LiAQGnbeGwS0o8O1h0PAjNBwMUbTTYJjA89JtvVmy
PynfDTzPHoSo1wjui8GIWDS7pOwim6ia7TKTZbdfvh8M3W+BH9leszvEregQeF2y3eh5r+bPzP6e
G5l8ZHeMHvLx27gJ1NONUW3qze0uWJUXOPl5pgUd1k3ltFpI89m9ScPGFAVE/Is0c2E9mnl3fLOm
jt9/+n8tKgNr56kAAA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Cache-Control:
- private
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=UTF-8
Date:
- Wed, 03 Jul 2024 19:14:52 GMT
Server:
- scaffolding on HTTPServer2
Transfer-Encoding:
- chunked
Vary:
- Origin
- X-Origin
- Referer
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-XSS-Protection:
- '0'
status:
code: 200
message: OK
version: 1
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def setup(tmp_path, monkeypatch):
yield data


@pytest.mark.vcr()
def test_get_urls(monkeypatch):
"""
Tests if spotdl can be initialized correctly.
Expand Down
Loading

0 comments on commit 89dbf8d

Please sign in to comment.