def METHOD_NAME():
    artist = Artist.objects.create(pk=3, name='Black Sabbath')
    album = Album.objects.create(pk=7, name='Heaven & Hell', artist=artist, year=1980)
    track = Track.objects.create(pk=13, album=album, name='Walk Away', index=7)
    with register_path_decoding(
        track=lambda string, **_: Track.objects.get(name__iexact=string.strip()),
    ):
        actual = decode_path_components(
            request=req('get'),
            track='  WALK aWay\n \t ',
        )
        expected = dict(
            track=track,
        )
        assert actual == expected