Commit 35e17d03 by Stephen Sanchez

Small changes to fix a few broken BDD tests

parent e01e812c
...@@ -6,11 +6,11 @@ def given_i_am_an_author(step): ...@@ -6,11 +6,11 @@ def given_i_am_an_author(step):
pass pass
@step(u'And: I configure a start date in the "([^"]*)"') @step(u'And: I configure a start date in the "([^"]*)"')
def and_i_configure_a_start_date(step): def and_i_configure_a_start_date(step, start_date):
pass pass
@step(u'And: I configure an end date in the "([^"]*)"') @step(u'And: I configure an end date in the "([^"]*)"')
def and_i_configure_an_end_date(step): def and_i_configure_an_end_date(step, end_date):
pass pass
@step(u'When: I attempt to review a peer submission') @step(u'When: I attempt to review a peer submission')
...@@ -18,5 +18,5 @@ def when_i_attempt_to_submit_a_submission(step): ...@@ -18,5 +18,5 @@ def when_i_attempt_to_submit_a_submission(step):
pass pass
@step(u'Then: My attempt to review a peer submission "([^"]*)"') @step(u'Then: My attempt to review a peer submission "([^"]*)"')
def then_my_attempt_to_submit_a_submission(step): def then_my_attempt_to_submit_a_submission(step, result):
pass pass
...@@ -5,7 +5,7 @@ Test-specific Django settings. ...@@ -5,7 +5,7 @@ Test-specific Django settings.
# Inherit from base settings # Inherit from base settings
from .base import * from .base import *
TEST_APPS = ('common_grading', 'peer_grading') TEST_APPS = ('peer_grading', 'common_grading',)
# Configure nose # Configure nose
NOSE_ARGS = [ NOSE_ARGS = [
...@@ -20,4 +20,4 @@ LETTUCE_APPS = TEST_APPS ...@@ -20,4 +20,4 @@ LETTUCE_APPS = TEST_APPS
LETTUCE_SERVER_PORT = 8005 LETTUCE_SERVER_PORT = 8005
# Install test-specific Django apps # Install test-specific Django apps
INSTALLED_APPS += ('django_nose', 'lettuce.django') INSTALLED_APPS += ('django_nose', 'lettuce.django',)
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