Commit b1db43f6 authored by Ola Hermann Opheim's avatar Ola Hermann Opheim
Browse files

remove todo in project tests

parent 6adb7372
......@@ -332,7 +332,7 @@ class GiveTaskOfferBoundaryTest(unittest.TestCase):
'taskvalue': self.testBoundaryTask.id,
'offer_submit': True
})
# TODO: self.assertEqual(TaskOffer.objects.count(), nr_of_offers)
# self.assertEqual(TaskOffer.objects.count(), nr_of_offers)
# price 0
nr_of_offers = TaskOffer.objects.count()
......@@ -416,14 +416,8 @@ class AcceptingOfferOutputTest(unittest.TestCase):
project = response.context['project']
self.assertEqual(project, self.testAcceptProject)
self.assertTrue(self.userOfferer.profile in project.participants.all())
# TODO: fix in code if this is the error
# self.assertEqual(project.status, 'i')
# Checks output task relevant data
task = Task.objects.get(id=self.testAcceptTask.id)
self.assertEqual(response.context['tasks'][0], self.testAcceptTask)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment