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
63b62568
Commit
63b62568
authored
Sep 05, 2014
by
Ben Patterson
Committed by
Zia Fazal
Apr 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add paver test for bok-choy default command.
parent
42066d6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
pavelib/tests/__init__.py
+0
-0
pavelib/tests/test_paver_bok_choy_cmds.py
+21
-0
No files found.
pavelib/tests/__init__.py
0 → 100644
View file @
63b62568
pavelib/tests/test_paver_bok_choy_cmds.py
0 → 100644
View file @
63b62568
import
os
import
unittest
from
pavelib.utils.test.suites.bokchoy_suite
import
BokChoyTestSuite
REPO_DIR
=
os
.
getcwd
()
class
TestPaverBokChoy
(
unittest
.
TestCase
):
def
test_default_bokchoy
(
self
):
command
=
BokChoyTestSuite
(
'paver -t test_bokchoy'
)
expected_output
=
(
"SCREENSHOT_DIR='{repo_dir}/test_root/log' "
"HAR_DIR='{repo_dir}/test_root/log/hars' "
"SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log' "
"nosetests {repo_dir}/common/test/acceptance/tests "
"--with-xunit "
"--xunit-file={repo_dir}/reports/bok_choy/xunit.xml "
"--verbosity=2 "
.
format
(
repo_dir
=
REPO_DIR
))
print
expected_output
self
.
assertTrue
(
command
.
cmd
==
expected_output
)
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