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
4db6b114
Commit
4db6b114
authored
Apr 24, 2010
by
Gabriel Falcão
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing tests
parent
1db7a417
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
tests/functional/test_runner.py
+1
-1
tests/unit/test_terrain.py
+4
-4
No files found.
tests/functional/test_runner.py
View file @
4db6b114
...
...
@@ -279,5 +279,5 @@ def test_output_when_could_not_find_features():
assert_stdout_lines
(
'
\033
[1;31mOops!
\033
[0m
\n
'
'
\033
[1;37mcould not find features at
\033
[1;33m
%
s
\033
[0m
\n
'
%
path
'
\033
[1;37mcould not find features at
\033
[1;33m
./
%
s
\033
[0m
\n
'
%
path
)
tests/unit/test_terrain.py
View file @
4db6b114
...
...
@@ -135,7 +135,6 @@ def test_after_each_all_is_executed_before_each_all():
"terrain.before.each_all and terrain.after.each_all decorators"
import
lettuce
from
lettuce.fs
import
FeatureLoader
CALLBACK_REGISTRY
.
clear
()
world
.
all_steps
=
[]
mox
=
Mox
()
...
...
@@ -159,6 +158,10 @@ def test_after_each_all_is_executed_before_each_all():
lettuce
.
Feature
.
from_file
(
'some_basepath/foo.feature'
)
.
\
AndReturn
(
Feature
.
from_string
(
FEATURE2
))
mox
.
ReplayAll
()
runner
=
lettuce
.
Runner
(
'some_basepath'
)
CALLBACK_REGISTRY
.
clear
()
@before.all
def
set_state_to_before
():
world
.
all_steps
.
append
(
'before'
)
...
...
@@ -172,9 +175,6 @@ def test_after_each_all_is_executed_before_each_all():
world
.
all_steps
.
append
(
'after'
)
isinstance
(
total
,
TotalResult
)
mox
.
ReplayAll
()
runner
=
lettuce
.
Runner
(
'some_basepath'
)
runner
.
run
()
mox
.
VerifyAll
()
...
...
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