tests: Bring tw-1452 and tw-1481 back to life

TW-1481 is not yet fixed though, so mark it as expectedFail.
This commit is contained in:
Tomas Babej 2015-09-05 16:44:50 +02:00 committed by Paul Beckingham
parent ae1405a7be
commit a49f5bb23c
2 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class Test1481(TestCase):
self.child1_uuid = self.t.export_one(2)['uuid']
self.child2_uuid = self.t.export_one(3)['uuid']
@unittest.expectedFailure
def test_set_dependency_on_first_completed_task(self):
"""Sets dependency on task which has been just completed."""
self.t('2 done')
@ -56,6 +57,7 @@ class Test1481(TestCase):
# Set the dependency
self.t('1 modify depends:%s' % self.child1_uuid)
@unittest.expectedFailure
def test_set_dependency_on_second_completed_task(self):
"""
Sets dependency on task which has been completed
@ -71,6 +73,7 @@ class Test1481(TestCase):
# Set the dependencies
self.t('1 modify depends:%s' % self.child2_uuid)
@unittest.expectedFailure
def test_set_dependency_on_two_completed_tasks(self):
""" Sets dependency on two most recent completed tasks. """
self.t('2 done')