Sha256: debf30efbb7f0249518d95d77ce955a8d3058e9bca49afe039d39ed7fcce7ccd
Contents?: true
Size: 818 Bytes
Versions: 1
Compression:
Stored size: 818 Bytes
Contents
# -*- coding: utf-8 -*- """ Passing steps. Often needed in examples. EXAMPLES: Given a step passes When another step passes Then a step passes Given ... When ... Then it should pass because "the answer is correct". """ from __future__ import absolute_import from behave import step, then # ----------------------------------------------------------------------------- # STEPS FOR: passing # ----------------------------------------------------------------------------- @step('{word:w} step passes') def step_passes(context, word): """ Step that always fails, mostly needed in examples. """ pass @then('it should pass because "{reason}"') def then_it_should_pass_because(context, reason): """ Self documenting step that indicates some reason. """ pass
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
busser-behave-0.1.3 | vendor/behave/behave4cmd0/passing_steps.py |