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
99a7c555
Commit
99a7c555
authored
Aug 19, 2016
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_acceptance paver command option fasttest should not recompile sass
parent
a6648559
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
docs/en_us/internal/testing.rst
+1
-1
pavelib/utils/test/suites/acceptance_suite.py
+2
-5
No files found.
docs/en_us/internal/testing.rst
View file @
99a7c555
...
...
@@ -609,7 +609,7 @@ To start the debugger on failure, pass the ``--pdb`` option to the paver command
paver test_acceptance -s lms --pdb --extra_args="lms/djangoapps/courseware/features/problems.feature"
To run tests faster by not collecting static files, you can use
To run tests faster by not collecting static files
or compiling sass
, you can use
``paver test_acceptance -s lms --fasttest`` and
``paver test_acceptance -s cms --fasttest``.
...
...
pavelib/utils/test/suites/acceptance_suite.py
View file @
99a7c555
...
...
@@ -80,7 +80,8 @@ class AcceptanceTest(TestSuite):
def
__enter__
(
self
):
super
(
AcceptanceTest
,
self
)
.
__enter__
()
self
.
report_dir
.
makedirs_p
()
self
.
_update_assets
()
if
not
self
.
fasttest
:
self
.
_update_assets
()
def
__exit__
(
self
,
exc_type
,
exc_value
,
traceback
):
super
(
AcceptanceTest
,
self
)
.
__exit__
(
exc_type
,
exc_value
,
traceback
)
...
...
@@ -109,10 +110,6 @@ class AcceptanceTest(TestSuite):
Internal helper method to manage asset compilation
"""
args
=
[
self
.
system
,
'--settings=acceptance'
]
if
self
.
fasttest
:
args
.
append
(
'--skip-collect'
)
call_task
(
'pavelib.assets.update_assets'
,
args
=
args
)
...
...
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