def set_before(self, command_name, command_name_prev):
        self._register(command_name)
        self._register(command_name_prev)
        if not command_name_prev in self.before[command_name]:
            self.before[command_name].append(command_name_prev)
Test get with full violations
dataset/ETHPy150Open cournape/Bento/bento/commands/dependency.py/CommandScheduler.set_before--crossover with--dataset/ETHPy150Open nvbn/coviolations_web/tasks/tests/test_resources.py/TaskResourceCase.test_get_with_full_violations