Commit 7218ea0a by Gabriel Falcão

fixing verbosity support on django, bump to 0.1.18

parent 857bb9a8
# lettuce # lettuce
> Version 0.1.17 - barium > Version 0.1.18 - barium
## On release names ## On release names
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
version = '0.1.17' version = '0.1.18'
release = 'barium' release = 'barium'
import os import os
......
...@@ -35,8 +35,8 @@ class Command(BaseCommand): ...@@ -35,8 +35,8 @@ class Command(BaseCommand):
option_list = BaseCommand.option_list[1:] + ( option_list = BaseCommand.option_list[1:] + (
make_option('-v', '--verbosity', action='store', dest='verbosity', default='4', make_option('-v', '--verbosity', action='store', dest='verbosity', default='4',
type='choice', choices=['0', '3', '4'], type='choice', choices=map(str, range(5)),
help='Verbosity level; 0=no output, 3=colorless output, 4=normal output (colorful)'), 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='', make_option('-a', '--apps', action='store', dest='apps', default='',
help='Run ONLY the django apps that are listed here. Comma separated'), help='Run ONLY the django apps that are listed here. Comma separated'),
......
...@@ -24,7 +24,7 @@ def test_django_against_cucumber_django_project(): ...@@ -24,7 +24,7 @@ def test_django_against_cucumber_django_project():
FileSystem.pushd(current_directory, "django", "cucumber") 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 "before harvest" in out
assert "after harvest" in out assert "after harvest" in out
......
...@@ -25,7 +25,7 @@ def test_django_admin_media_serving(): ...@@ -25,7 +25,7 @@ def test_django_admin_media_serving():
FileSystem.pushd(current_directory, "django", "grocery") 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) assert_equals(status, 0)
FileSystem.popd() FileSystem.popd()
......
...@@ -21,7 +21,7 @@ from mox import Mox ...@@ -21,7 +21,7 @@ from mox import Mox
def test_has_version(): def test_has_version():
"A nice python module is supposed to have a version" "A nice python module is supposed to have a version"
assert_equals(lettuce.version, '0.1.17') assert_equals(lettuce.version, '0.1.18')
def test_import(): def test_import():
"lettuce importer does import" "lettuce importer does import"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment