def mark_skipped(self):
    """Marks this scenario (and all its steps) as skipped.
    Note that this method can be called before the scenario is executed.
    """
self.skip(require_not_executed=True)
assert self.status == 'skipped', 'OOPS: scenario.status=%s' % self.status
Пропустить шаг поведения в реализации шага