old_contents: from django.test import TestCase
  
  from bluebottle.initiatives.tests.factories import InitiativeFactory
  
  
  class InitiativeTestCase(TestCase):
  
      def test_properties(self):
          initiative = InitiativeFactory.create(title='Dharma initiative')
          expected = '/initiatives/details/{}/dharma-initiative/'.format(initiative.id)
          self.assertEqual(initiative.full_url, expected)
  
      def test_status_changes(self):
          initiative = InitiativeFactory.create(title='Dharma initiative')
          self.assertEqual(initiative.status, 'created')
  
          initiative.submit()
          self.assertEqual(initiative.status, 'submitted')
  
          initiative.needs_work()
          self.assertEqual(initiative.status, 'needs_work')
  
          initiative.resubmit()
          self.assertEqual(initiative.status, 'submitted')
  
          initiative.approve()
          self.assertEqual(initiative.status, 'approved')
  
          initiative.close()
          self.assertEqual(initiative.status, 'closed')
  
          initiative.reopen()
          self.assertEqual(initiative.status, 'submitted')
  
new_contents: from django.test import TestCase
  
  from bluebottle.initiatives.tests.factories import InitiativeFactory
  
  
  class InitiativeTestCase(TestCase):
  
      def test_properties(self):
          initiative = InitiativeFactory.create(title='Dharma initiative')
          expected = '/initiatives/details/{}/dharma-initiative/'.format(initiative.id)
          self.assertEqual(initiative.full_url, expected)
  
      def test_status_changes(self):
          initiative = InitiativeFactory.create(title='Dharma initiative')
          self.assertEqual(initiative.status, 'draft')
  
          initiative.submit()
          self.assertEqual(initiative.status, 'submitted')
  
          initiative.needs_work()
          self.assertEqual(initiative.status, 'needs_work')
  
          initiative.resubmit()
          self.assertEqual(initiative.status, 'submitted')
  
          initiative.approve()
          self.assertEqual(initiative.status, 'approved')
  
          initiative.close()
          self.assertEqual(initiative.status, 'closed')
  
          initiative.reopen()
          self.assertEqual(initiative.status, 'submitted')
  
subject: Fix test