Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/l/e/lettuce-HEAD/tests/functional/test_runner.py   lettuce(Download)
from tests.asserts import prepare_stderr
from tests.asserts import prepare_stdout
from tests.asserts import assert_stderr_lines
from tests.asserts import assert_stdout_lines
from tests.asserts import assert_stderr_lines_with_traceback
 
    assert_stderr_lines(
        'Syntax error at: %s\n'
        'A feature file must contain ONLY ONE feature!\n' % filename
    )
 
    assert_stderr_lines(
        'Syntax error at: %s\n'
        'Features must have a name. e.g: "Feature: This is my name"\n'
        % filename
 
    assert_stderr_lines(
        u"Syntax error at: %s\n"
        "Features must have scenarios.\nPlease refer to the documentation "
        "available at http://lettuce.it for more information.\n" % filename