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
6f331a81
Commit
6f331a81
authored
Jun 17, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Use the same sh approach instead of getting fancy with call_task
parent
03b6e3b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
pavelib/utils/test/suites/suite.py
+5
-9
No files found.
pavelib/utils/test/suites/suite.py
View file @
6f331a81
...
@@ -5,7 +5,7 @@ import sys
...
@@ -5,7 +5,7 @@ import sys
import
subprocess
import
subprocess
from
paver
import
tasks
from
paver
import
tasks
from
paver.easy
import
sh
,
call_task
from
paver.easy
import
sh
from
pavelib.utils.process
import
kill_process
from
pavelib.utils.process
import
kill_process
...
@@ -67,15 +67,11 @@ class TestSuite(object):
...
@@ -67,15 +67,11 @@ class TestSuite(object):
optimized files to a dedicated test static root. Optionally use
optimized files to a dedicated test static root. Optionally use
a log file for collectstatic output.
a log file for collectstatic output.
"""
"""
opts_dict
=
{
'settings'
:
'test_static_optimized'
}
if
log_dir
:
opts_dict
.
update
({
'collect_log_file'
:
log_dir
})
print
colorize
(
'green'
,
"Generating optimized static assets..."
)
print
colorize
(
'green'
,
"Generating optimized static assets..."
)
call_task
(
if
not
log_dir
:
"pavelib.assets.update_assets"
,
sh
(
"paver update_assets --settings=test_static_optimized"
)
args
=
opts_dict
else
:
)
sh
(
"paver update_assets --settings=test_static_optimized --collect-log=log_dir"
)
# sh("paver update_assets --settings=test_static_optimized")
def
run_test
(
self
):
def
run_test
(
self
):
"""
"""
...
...
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