Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
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
OpenEdx
pystache_custom
Commits
c14459c3
Commit
c14459c3
authored
Dec 26, 2011
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addressed issue #73: spec tests now excluded by default.
parent
fe84cb12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
README.rst
+1
-0
tests/spec_cases.py
+10
-1
No files found.
README.rst
View file @
c14459c3
...
@@ -71,6 +71,7 @@ To include tests from the mustache spec_ in your test runs: ::
...
@@ -71,6 +71,7 @@ To include tests from the mustache spec_ in your test runs: ::
git submodule init
git submodule init
git submodule update
git submodule update
nosetests -i spec
Mailing List
Mailing List
...
...
tests/
test_spec
.py
→
tests/
spec_cases
.py
View file @
c14459c3
# coding: utf-8
# coding: utf-8
"""
"""
Tests the mustache spec test cases.
Creates a unittest.TestCase for the tests defined in the mustache spec.
We did not call this file something like "test_spec.py" to avoid matching
nosetests's default regular expression "(?:^|[
\b
_
\
./-])[Tt]est".
This allows us to exclude the spec test cases by default when running
nosetests. To include the spec tests, one can use the following option,
for example--
nosetests -i spec
"""
"""
import
glob
import
glob
import
os.path
import
os.path
import
sys
import
unittest
import
unittest
import
yaml
import
yaml
...
...
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