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
bb7cbf4d
Commit
bb7cbf4d
authored
Aug 19, 2013
by
JonahStanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If sauce is not enabled, allow full range of ports
Forgot an import
parent
4c3dcda7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
cms/envs/acceptance.py
+2
-2
lms/envs/acceptance.py
+3
-3
No files found.
cms/envs/acceptance.py
View file @
bb7cbf4d
...
...
@@ -18,7 +18,7 @@ DEBUG = True
import
logging
logging
.
disable
(
logging
.
ERROR
)
import
os
from
random
import
choice
from
random
import
choice
,
randint
def
seed
():
...
...
@@ -84,5 +84,5 @@ USE_I18N = True
# Include the lettuce app for acceptance testing, including the 'harvest' django-admin command
INSTALLED_APPS
+=
(
'lettuce.django'
,)
LETTUCE_APPS
=
(
'contentstore'
,)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
if
SAUCE
.
get
(
'SAUCE_ENABLED'
)
else
randint
(
1024
,
65535
)
LETTUCE_BROWSER
=
os
.
environ
.
get
(
'LETTUCE_BROWSER'
,
'chrome'
)
lms/envs/acceptance.py
View file @
bb7cbf4d
...
...
@@ -18,7 +18,7 @@ DEBUG = True
import
logging
logging
.
disable
(
logging
.
ERROR
)
import
os
from
random
import
choice
from
random
import
choice
,
randint
def
seed
():
...
...
@@ -66,7 +66,7 @@ DATABASES = {
# Set up XQueue information so that the lms will send
# requests to a mock XQueue server running locally
XQUEUE_PORT
=
choice
(
PORTS
)
XQUEUE_PORT
=
choice
(
PORTS
)
if
SAUCE
.
get
(
'SAUCE_ENABLED'
)
else
randint
(
1024
,
65535
)
XQUEUE_INTERFACE
=
{
"url"
:
"http://127.0.0.1:
%
d"
%
XQUEUE_PORT
,
"django_auth"
:
{
...
...
@@ -91,5 +91,5 @@ USE_I18N = True
# Include the lettuce app for acceptance testing, including the 'harvest' django-admin command
INSTALLED_APPS
+=
(
'lettuce.django'
,)
LETTUCE_APPS
=
(
'courseware'
,)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
if
SAUCE
.
get
(
'SAUCE_ENABLED'
)
else
randint
(
1024
,
65535
)
LETTUCE_BROWSER
=
os
.
environ
.
get
(
'LETTUCE_BROWSER'
,
'chrome'
)
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