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
bd207abf
Commit
bd207abf
authored
Apr 20, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubbed out _PystacheTestProgram.runTests().
parent
8aa242e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
pystache/tests/main.py
+11
-3
No files found.
pystache/tests/main.py
View file @
bd207abf
...
...
@@ -9,7 +9,6 @@ This module is for our test console script.
import
os
import
sys
import
unittest
from
unittest
import
TestProgram
...
...
@@ -111,8 +110,17 @@ def _discover_test_modules(package):
return
modules
class
_PystacheTestProgram
(
TestProgram
):
pass
"""
Instantiating an instance of this class runs all tests.
"""
def
runTests
(
self
):
# TODO: add doctests, etc. to the self.test TestSuite.
TestProgram
.
runTests
(
self
)
class
Tester
(
object
):
...
...
@@ -145,5 +153,5 @@ class Tester(object):
# (This would require importing all of the unittest modules from
# this module.) See the loadTestsFromName() method of the
# unittest.TestLoader class for more details on this parameter.
unittest
.
main
(
argv
=
sys_argv
,
module
=
None
)
_PystacheTestProgram
(
argv
=
sys_argv
,
module
=
None
)
# No need to return since unitttest.main() exits.
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