def METHOD_NAME(self):
    """
    Test that if we specify which task types to update, only tasks with
    those types are updated
    """
    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()
    assert type_1_queueing.task_state == FAILURE
    # the other type of task shouldn't be updated
    assert type_2_queueing.task_state == QUEUING
    assert type_1_progress.task_state == PROGRESS