Compare commits

...

5 Commits

Author SHA1 Message Date
Georg Krause 5f19d7451e Merge branch 'renovate/python-3.x' into 'main'
chore(deps): update python docker tag to v3.12

See merge request funkwhale/mopidy!18
2023-12-04 14:20:01 +00:00
Georg Krause 621f68e102 tests: Adjust assertion to work with python 3.12 2023-12-04 15:18:06 +01:00
Renovate Bot cadc2a7ca3 chore(deps): update python docker tag to v3.12 2023-12-04 11:33:10 +00:00
Georg Krause d00b1b21de Merge branch 'renovate/configure' into 'main'
Configure Renovate

See merge request funkwhale/mopidy!17
2023-12-04 11:30:19 +00:00
Renovate Bot 6a343ae88b Add renovate.json 2023-06-28 08:58:38 +00:00
3 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,7 @@ stages:
lint:
stage: lint
image: python:3.10
image: python:3.12
before_script:
- apt-get update
- apt-get install libgirepository1.0-dev -y

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

View File

@ -112,11 +112,11 @@ def test_to_ref(type):
)
def test_browse_routing(library, path, expected_handler, mocker, remaining):
handler = mocker.patch.object(
library, expected_handler, return_value=("test", False)
library, expected_handler, return_value=("test", False), autospec=True
)
assert library.browse(path) == "test"
assert handler.called_once_with(remaining)
handler.assert_called_once_with(remaining)
def test_browse_favorites_root(library):