new_contents: # -*- coding: utf8 -*-
  
  import sys
  import os
  import pybossa_discourse as plugin
  
  
  # Use the PyBossa test suite
  sys.path.append(os.path.abspath("./pybossa/test"))
  
  
  def setUpPackage():
      """Setup the plugin."""
      from default import flask_app
      with flask_app.app_context():
          plugin_dir = os.path.dirname(plugin.__file__)
          plugin.PyBossaDiscourse(plugin_dir).setup()
  
subject: Add test setup