old_contents: from __future__ import unicode_literals
  
  import unittest
  from mopidy.models import Track
  
  from mopidy_soundcloud.soundcloud import SoundCloudClient
  
  
  class ApiTest(unittest.TestCase):
      ## using this user http://maildrop.cc/inbox/mopidytestuser
      api = SoundCloudClient("1-35204-61921957-55796ebef403996")
  
      def test_resolves_string(self):
          id = self.api.parse_track_uri("soundcloud:song;38720262")
          self.assertEquals(id, "38720262")
  
      def test_resolves_object(self):
  
          trackc = {}
          trackc[b'uri'] = 'soundcloud:song;38720262'
          track = Track(**trackc)
  
          id = self.api.parse_track_uri(track)
          self.assertEquals(id, "38720262")
new_contents: from __future__ import unicode_literals
  
  import unittest
  from mopidy.models import Track
  
  from mopidy_soundcloud.soundcloud import SoundCloudClient
  
  
  class ApiTest(unittest.TestCase):
      ## using this user http://maildrop.cc/inbox/mopidytestuser
      api = SoundCloudClient("1-35204-61921957-55796ebef403996")
  
      def test_resolves_string(self):
          id = self.api.parse_track_uri("soundcloud:song;38720262")
          self.assertEquals(id, "38720262")
  
      def test_resolves_object(self):
  
          trackc = {}
          trackc[b'uri'] = 'soundcloud:song;38720262'
          track = Track(**trackc)
  
          id = self.api.parse_track_uri(track)
          self.assertEquals(id, "38720262")
  
subject: fix for flaxe8