Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lettuce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
lettuce
Commits
ff22d323
Commit
ff22d323
authored
May 14, 2010
by
Gabriel Falcão
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding missing files from last commit
parent
d5d8ed53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
tests/functional/language_specific_features/pt-br/success/outlines.feature
+18
-0
tests/functional/language_specific_features/pt-br/success/outlines_steps.py
+37
-0
No files found.
tests/functional/language_specific_features/pt-br/success/outlines.feature
0 → 100644
View file @
ff22d323
# -*- coding: utf-8 -*-
# language: pt-br
Funcionalidade
:
outlines em português
Como um programador
Eu quero testar cenários esquemáticos
Para ver o output em pt-br
Esquema do Cenário
:
Fazer nada, repetidas vezes, através de esquemas
Dado
que tenho o
<dado1>
Quando
eu faço algo com
<isso>
Então
eu fico feliz em ver
<aquilo>
Cenários
:
|
dado1
|
isso
|
aquilo
|
|
algo
|
assim
|
funcional
|
|
outro
|
aqui
|
também
|
|
dados
|
funcionarão
|
com
unicode
!
|
tests/functional/language_specific_features/pt-br/success/outlines_steps.py
0 → 100644
View file @
ff22d323
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from
lettuce
import
step
def
assert_in
(
dado
,
possibilidades
):
assert
dado
in
possibilidades
,
\
u"
%
r deveria estar nas possibilidades:
%
r"
%
(
dado
,
possibilidades
)
@step
(
u'tenho o (.*)'
)
def
dado_que_tenho
(
step
,
grupo
):
possibilidades
=
[
'algo'
,
'outro'
,
'dados'
]
assert_in
(
grupo
,
possibilidades
)
@step
(
u'faço algo com (.*)'
)
def
faco_algo_com
(
step
,
grupo
):
possibilidades
=
[
'assim'
,
'aqui'
,
u'funcionarão'
]
assert_in
(
grupo
,
possibilidades
)
@step
(
u'fico feliz em ver (.*)'
)
def
fico_feliz_em_ver
(
step
,
grupo
):
possibilidades
=
[
'funcional'
,
u'também'
,
'com unicode !'
]
assert_in
(
grupo
,
possibilidades
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment