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
7218ea0a
Commit
7218ea0a
authored
Dec 07, 2010
by
Gabriel Falcão
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing verbosity support on django, bump to 0.1.18
parent
857bb9a8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
README.md
+1
-1
lettuce/__init__.py
+1
-1
lettuce/django/management/commands/harvest.py
+2
-2
tests/integration/test_cucumber.py
+1
-1
tests/integration/test_grocery.py
+1
-1
tests/unit/test_main.py
+1
-1
No files found.
README.md
View file @
7218ea0a
# lettuce
> Version 0.1.1
7
- barium
> Version 0.1.1
8
- barium
## On release names
...
...
lettuce/__init__.py
View file @
7218ea0a
...
...
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
version
=
'0.1.1
7
'
version
=
'0.1.1
8
'
release
=
'barium'
import
os
...
...
lettuce/django/management/commands/harvest.py
View file @
7218ea0a
...
...
@@ -35,8 +35,8 @@ class Command(BaseCommand):
option_list
=
BaseCommand
.
option_list
[
1
:]
+
(
make_option
(
'-v'
,
'--verbosity'
,
action
=
'store'
,
dest
=
'verbosity'
,
default
=
'4'
,
type
=
'choice'
,
choices
=
[
'0'
,
'3'
,
'4'
]
,
help
=
'Verbosity level; 0=no output, 3=colorless output, 4=normal output (colorful)'
),
type
=
'choice'
,
choices
=
map
(
str
,
range
(
5
))
,
help
=
'Verbosity level; 0=no output,
1=only dots, 2=only scenario names,
3=colorless output, 4=normal output (colorful)'
),
make_option
(
'-a'
,
'--apps'
,
action
=
'store'
,
dest
=
'apps'
,
default
=
''
,
help
=
'Run ONLY the django apps that are listed here. Comma separated'
),
...
...
tests/integration/test_cucumber.py
View file @
7218ea0a
...
...
@@ -24,7 +24,7 @@ def test_django_against_cucumber_django_project():
FileSystem
.
pushd
(
current_directory
,
"django"
,
"cucumber"
)
status
,
out
=
commands
.
getstatusoutput
(
"python manage.py harvest --verbosity=
3
"
)
status
,
out
=
commands
.
getstatusoutput
(
"python manage.py harvest --verbosity=
1
"
)
assert
"before harvest"
in
out
assert
"after harvest"
in
out
...
...
tests/integration/test_grocery.py
View file @
7218ea0a
...
...
@@ -25,7 +25,7 @@ def test_django_admin_media_serving():
FileSystem
.
pushd
(
current_directory
,
"django"
,
"grocery"
)
status
,
out
=
commands
.
getstatusoutput
(
"python manage.py harvest --verbosity=
3
./features/"
)
status
,
out
=
commands
.
getstatusoutput
(
"python manage.py harvest --verbosity=
2
./features/"
)
assert_equals
(
status
,
0
)
FileSystem
.
popd
()
...
...
tests/unit/test_main.py
View file @
7218ea0a
...
...
@@ -21,7 +21,7 @@ from mox import Mox
def
test_has_version
():
"A nice python module is supposed to have a version"
assert_equals
(
lettuce
.
version
,
'0.1.1
7
'
)
assert_equals
(
lettuce
.
version
,
'0.1.1
8
'
)
def
test_import
():
"lettuce importer does import"
...
...
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