yutipy 2.3.5__tar.gz → 2.3.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yutipy might be problematic. Click here for more details.
- {yutipy-2.3.5 → yutipy-2.3.6}/PKG-INFO +1 -1
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_musicyt.py +0 -8
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_utils.py +1 -1
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/utils/helpers.py +1 -1
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/PKG-INFO +1 -1
- {yutipy-2.3.5 → yutipy-2.3.6}/.gitattributes +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/FUNDING.yml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/dependabot.yml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/workflows/pytest-unit-testing.yml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.github/workflows/release.yml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.gitignore +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/.readthedocs.yaml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/LICENSE +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/MANIFEST.in +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/README.md +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/Makefile +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/_static/yutipy_header.png +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/_static/yutipy_logo.png +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/api_reference.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/available_platforms.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/cli.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/conf.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/faq.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/index.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/installation.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/make.bat +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/requirements.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/docs/usage_examples.rst +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/pyproject.toml +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/requirements-dev.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/requirements.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/setup.cfg +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/__init__.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_deezer.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_itunes.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_kkbox.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_lastfm.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_lrclib.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_models.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/tests/test_spotify.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/__init__.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/base_clients.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/cli/__init__.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/cli/config.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/cli/search.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/deezer.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/exceptions.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/itunes.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/kkbox.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/lastfm.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/logger.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/lrclib.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/models.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/musicyt.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/spotify.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/utils/__init__.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy/yutipy_music.py +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/SOURCES.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/dependency_links.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/entry_points.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/requires.txt +0 -0
- {yutipy-2.3.5 → yutipy-2.3.6}/yutipy.egg-info/top_level.txt +0 -0
|
@@ -60,14 +60,6 @@ def test_search_invalid(music_yt, mock_ytmusic_search):
|
|
|
60
60
|
assert result is None
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
def test_search_partial_match(music_yt, mock_ytmusic_search):
|
|
64
|
-
artist = "Test"
|
|
65
|
-
song = "Test"
|
|
66
|
-
result = music_yt.search(artist, song, normalize_non_english=False)
|
|
67
|
-
assert result is not None
|
|
68
|
-
assert song in result.title
|
|
69
|
-
|
|
70
|
-
|
|
71
63
|
def test_search_empty_artist(music_yt, mock_ytmusic_search):
|
|
72
64
|
artist = ""
|
|
73
65
|
song = "Song"
|
|
@@ -4,7 +4,7 @@ from yutipy.utils import are_strings_similar, separate_artists
|
|
|
4
4
|
|
|
5
5
|
def test_are_strings_similar():
|
|
6
6
|
assert are_strings_similar("Hello World", "Hello World", use_translation=False) is True
|
|
7
|
-
assert are_strings_similar("Hello
|
|
7
|
+
assert are_strings_similar("Hello W", "Hello", use_translation=False) is True
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
def test_are_strings_similar_translation(monkeypatch):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|