Back to index

python3.2  3.2.2
Classes | Functions
test.test_cmd Namespace Reference

Classes

class  samplecmdclass
class  TestAlternateInput

Functions

def test_main
def test_coverage

Function Documentation

def test.test_cmd.test_coverage (   coverdir)

Definition at line 200 of file test_cmd.py.

00200 
00201 def test_coverage(coverdir):
00202     trace = support.import_module('trace')
00203     tracer=trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix,],
00204                         trace=0, count=1)
00205     tracer.run('reload(cmd);test_main()')
00206     r=tracer.results()
00207     print("Writing coverage results...")
00208     r.write_results(show_missing=True, summary=True, coverdir=coverdir)

Here is the call graph for this function:

def test.test_cmd.test_main (   verbose = None)

Definition at line 195 of file test_cmd.py.

00195 
00196 def test_main(verbose=None):
00197     from test import test_cmd
00198     support.run_doctest(test_cmd, verbose)
00199     support.run_unittest(TestAlternateInput)

Here is the caller graph for this function: