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
5a47ea6d
Commit
5a47ea6d
authored
Apr 20, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added TODO notes to pystache/tests/main.py.
parent
328b018b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
pystache/tests/main.py
+15
-0
No files found.
pystache/tests/main.py
View file @
5a47ea6d
...
...
@@ -16,6 +16,21 @@ UNITTEST_FILE_PREFIX = "test_"
# TODO: enhance this to work with doctests (instead of using the load_tests
# protocol), etc.
# Notes for TODO:
#
# The function unittest.main() is an alias for unittest.TestProgram's
# constructor. The constructor calls self.runTests() as its final step, which
# expects self.test to be set. The constructor sets the self.test attribute
# by calling one of self.testLoader's "loadTests" methods. These methods
# return a unittest.TestSuite instance. Thus, self.test is set to a TestSuite
# instance prior to calling runTests().
#
# Our strategy is to subclass unittest.TestProgram and override its runTests()
# method. Our implementation of runTests() will add to self.test additional
# TestCase or TestSuite instances (e.g. doctests and spec tests), and then
# call the base class's runTests().
class
Tester
(
object
):
"""
...
...
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