Did I find the right examples for you? yes no

All Samples(17)  |  Call(0)  |  Derive(0)  |  Import(17)
TestCommon.py:  a testing framework for commands and scripts
                with commonly useful error handling

The TestCommon module provides a simple, high-level interface for writing
tests of executable commands and scripts, especially commands and scripts
that interact with the file system.  All methods throw exceptions and
exit on failure, with useful error messages.  This makes a number of
explicit checks unnecessary, making the test scripts themselves simpler
to write and easier to read.
(more...)

src/g/y/gyp-HEAD/test/lib/TestGyp.py   gyp(Download)
import tempfile
 
import TestCommon
from TestCommon import __all__
 

src/g/y/gyp-HEAD/test/configurations/target_platform/gyptest-target_platform.py   gyp(Download)
 
import TestGyp
import TestCommon
 
 

src/g/y/gyp-HEAD/pylib/gyp/generator/ninja_test.py   gyp(Download)
import unittest
import StringIO
import TestCommon
 
 

src/n/o/node-gyp-HEAD/gyp/pylib/gyp/generator/ninja_test.py   node-gyp(Download)
import StringIO
import sys
import TestCommon
 
 

src/b/r/brackets-shell-HEAD/gyp/pylib/gyp/generator/ninja_test.py   brackets-shell(Download)
import StringIO
import sys
import TestCommon