old_contents: """Tests for plugin.py."""
  import ckanext.romania_theme.plugin as plugin
  
  def test_plugin():
      pass
new_contents: import webtest
  import paste.fixture
  import pylons.test
  
  import ckan.model as model
  import ckan.tests.helpers as helpers
  import ckan.config
  import ckan.plugins
  
  
  class TestRomaniaTheme(helpers.FunctionalTestBase):
      @classmethod
      def setup_class(cls):
          cls.app = paste.fixture.TestApp(pylons.test.pylonsapp)
          ckan.plugins.load('romania_theme')
  
      def teardown(self):
          model.repo.rebuild_db()
  
      @classmethod
      def teardown_class(cls):
          ckan.plugins.unload('romania_theme')
  
      def test_motto(self):
          response = self.app.get('/')
          motto = 'Date accesibile, reutilizabile, ce pot fi redistribuite'
          assert motto in response.body
  
subject: Add first test #11