ytmusicapi/tests/test.example.cfg
Alex Pastel c412d7ce34
Implement get_account_info() to get authenticated user's account info (#556) (#557)
* implement get_account_info to provide information about the authenticated user's account (#556)

* Apply suggestions from code review to tests/README.rst

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>

* simplify get_account_info by moving code out of parsers.py and navigation.py

* test with non-auth account

* format

* update .pre-commit-config.yaml

---------

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-03-03 19:55:06 +01:00

40 lines
1.1 KiB
INI

[auth]
brand_account = 101234229123420379537
brand_account_empty = 1123456629123420379537
account_name = Sample Account
channel_handle = @SampleAccount
headers = headers_auth_json_as_string
headers_empty = headers_account_with_empty_library_as_json_as_string
browser_file = ./browser.json
oauth_file = ./oauth.json
headers_raw = raw_headers_pasted_from_browser
[queries]
uploads_songs = query_gives_gt_20_songs
library_any = query_gives_gt_5_results
library_songs = query_gives_gt_10_songs
library_albums = query_gives_gte_5_albums
library_artists = query_gives_gte_1_artist
library_playlists = query_gives_gte_1_playlist
[playlists]
own = owned_playlist_id
own_length = number_of_tracks_in_playlist
[albums]
album_browse_id = sample_id_of_regionally_available_album
album_track_length = available_album_length
[uploads]
file = song_in_tests_directory.mp3
private_album_id = sample_id_of_private_album
private_artist_id = sample_id_of_private_artist
private_upload_id = sample_video_id_of_private_upload
[limits]
library_playlists = 100
library_songs = 200
library_artists = 300
library_subscriptions = 50
library_upload_albums = 200
library_upload_artists = 250