from mopidy.models import Artist artist = Artist(name="The Beatles", uri="spotify:artist:3WrFJ7ztbogyGnTHbHJFl2")
from mopidy.models import Artist artist1 = Artist(name="The Beatles") artist2 = Artist(name="The Rolling Stones") assert artist1 != artist2In this example, we create two Artist objects, and we assert that they are not equal. Package/library: Mopidy.