'Test that if we specify which task types to update, only tasks with
those types are updated'

def test_filter_by_task_type(self):

    self.update_task_created('2015-05-06')
    call_command('fail_old_tasks', QUEUING, before='2015-05-07', after='2015-05-05', task_type='type_1')
    (type_1_queueing, type_1_progress, type_2_queueing) = self.get_tasks()
    self.assertEqual(type_1_queueing.task_state, FAILURE)
    self.assertEqual(type_2_queueing.task_state, QUEUING)
    self.assertEqual(type_1_progress.task_state, PROGRESS)
