old_contents: import unittest
  
  from mopidy_{{ cookiecutter.ext_name }} import Extension, frontend as frontend_lib
  
  
  class ExtensionTest(unittest.TestCase):
  
      def test_get_default_config(self):
          ext = Extension()
  
          config = ext.get_default_config()
  
          self.assertIn('[{{ cookiecutter.ext_name }}]', config)
          self.assertIn('enabled = true', config)
  
      def test_get_config_schema(self):
          ext = Extension()
  
          schema = ext.get_config_schema()
  
          # TODO Test the content of your config schema
          #self.assertIn('username', schema)
          #self.assertIn('password', schema)
  
      # TODO Write more tests
  
new_contents: from __future__ import unicode_literals
  
  import unittest
  
  from mopidy_{{ cookiecutter.ext_name }} import Extension, frontend as frontend_lib
  
  
  class ExtensionTest(unittest.TestCase):
  
      def test_get_default_config(self):
          ext = Extension()
  
          config = ext.get_default_config()
  
          self.assertIn('[{{ cookiecutter.ext_name }}]', config)
          self.assertIn('enabled = true', config)
  
      def test_get_config_schema(self):
          ext = Extension()
  
          schema = ext.get_config_schema()
  
          # TODO Test the content of your config schema
          #self.assertIn('username', schema)
          #self.assertIn('password', schema)
  
      # TODO Write more tests
  
subject: Add unicode_literals import to test suite