Commit fefcdf31 authored by Erin's avatar Erin
Browse files

Fix typo in library.to_ref test name

parent c1461b2e
......@@ -97,7 +97,7 @@ def test_parse_uri(uri, expected):
@pytest.mark.parametrize("type", ["track", "album", "artist"])
def test_parse_uri(type):
def test_to_ref(type):
obj = getattr(models, type.capitalize())(uri="hello:world", name="Hello")
expected = getattr(models.Ref, type)(uri=obj.uri,
assert mopidy_funkwhale.library.to_ref(obj) == expected
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment