Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
bc685451
Commit
bc685451
authored
Sep 08, 2015
by
Brian Beggs
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9568 from edx/bbeggs/lettuce-1.8-upgrade
Update lettuce to work with Django 1.4 - 1.8
parents
a08fe9fb
b7006533
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
cms/envs/acceptance.py
+3
-1
common/djangoapps/terrain/browser.py
+1
-0
requirements/edx/base.txt
+0
-1
requirements/edx/github.txt
+2
-0
No files found.
cms/envs/acceptance.py
View file @
bc685451
...
...
@@ -98,7 +98,9 @@ FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
USE_I18N
=
True
# Include the lettuce app for acceptance testing, including the 'harvest' django-admin command
INSTALLED_APPS
+=
(
'lettuce.django'
,)
# django.contrib.staticfiles used to be loaded by lettuce, now we must add it ourselves
# django.contrib.staticfiles is not added to lms as there is a ^/static$ route built in to the app
INSTALLED_APPS
+=
(
'lettuce.django'
,
'django.contrib.staticfiles'
)
LETTUCE_APPS
=
(
'contentstore'
,)
LETTUCE_BROWSER
=
os
.
environ
.
get
(
'LETTUCE_BROWSER'
,
'chrome'
)
...
...
common/djangoapps/terrain/browser.py
View file @
bc685451
...
...
@@ -120,6 +120,7 @@ def initial_setup(server):
world
.
visit
(
'/'
)
except
WebDriverException
:
LOGGER
.
warn
(
"Error acquiring
%
s browser, retrying"
,
browser_driver
,
exc_info
=
True
)
if
hasattr
(
world
,
'browser'
):
world
.
browser
.
quit
()
num_attempts
+=
1
...
...
requirements/edx/base.txt
View file @
bc685451
...
...
@@ -130,7 +130,6 @@ django_nose==1.4.1
factory_boy==2.2.1
flaky==2.0.3
freezegun==0.1.11
lettuce==0.2.20
mock-django==0.6.6
mock==1.0.1
moto==0.3.1
...
...
requirements/edx/github.txt
View file @
bc685451
...
...
@@ -30,6 +30,8 @@ git+https://github.com/hmarr/django-debug-toolbar-mongo.git@b0686a76f1ce3532088c
# custom opaque-key implementations for ccx
-e git+https://github.com/jazkarta/ccx-keys.git@e6b03704b1bb97c1d2f31301ecb4e3a687c536ea#egg=ccx-keys
git+https://github.com/edx/rfc6266.git@v0.0.5-edx#egg=rfc6266==0.0.5-edx
# Used for testing
-e git+https://github.com/gabrielfalcao/lettuce.git@b18b8fb711eb7a178c58574716032ad8de525912#egg=lettuce=1.8-support
# Our libraries:
-e git+https://github.com/edx/XBlock.git@32fca2a954745315be97b91ef0d5ad4eb38cf365#egg=XBlock
...
...
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