Index: spongenet/trunk/spongenet/expand.py =================================================================== --- spongenet/trunk/spongenet/expand.py (revision 373) +++ spongenet/trunk/spongenet/expand.py (revision 377) @@ -10,5 +10,5 @@ > python expand.py --test -Test silent import. +Test silent import: >>> import expand @@ -38,5 +38,5 @@ Run doctests as unittest suite. - Test silent import + Test silent import: >>> from expand import _test @@ -55,5 +55,5 @@ Return the configuration file path from the command line. - Supply too few arguments on command line. + Supply too few arguments on command line: >>> save_stdout = sys.stdout @@ -66,5 +66,5 @@ True - Supply too many arguments on the command line. + Supply too many arguments on the command line: >>> save_stdout = sys.stdout @@ -77,5 +77,5 @@ True - Supply non-file argument. + Supply non-file argument: >>> save_stdout = sys.stdout @@ -92,5 +92,5 @@ True - Supply nonexistent file argument. + Supply nonexistent file argument: >>> save_stdout = sys.stdout @@ -107,5 +107,5 @@ True - Supply valid config path argument. + Supply valid config path argument: >>> _config_path = os.path.join( @@ -142,5 +142,5 @@ Return the configuration from a file. - Execute empty configuration. + Execute empty configuration: >>> _config_path = os.path.join( @@ -156,5 +156,5 @@ >>> xmlfile_pattern - Execute nonexistent configuration. + Execute nonexistent configuration: >>> save_stdout = sys.stdout @@ -176,5 +176,5 @@ >>> xmlfile_pattern - Execute bad configuration. + Execute bad configuration: >>> save_stdout = sys.stdout @@ -197,5 +197,5 @@ >>> xmlfile_pattern - Execute valid configuration. + Execute valid configuration: >>> _config_path = os.path.join( @@ -246,5 +246,5 @@ Combine the XML sponge data files from a subdirectory. - Combine test subdirectory. + Combine test subdirectory: >>> xmlref_path = os.path.join( @@ -307,5 +307,5 @@ Expand zipped sponge data files. - Expand valid tree. + Expand valid tree: >>> _config_path = os.path.join( @@ -403,5 +403,5 @@ Run module as script. - Supply incomplete config file. + Supply incomplete config file: >>> save_stdout = sys.stdout Index: spongenet/trunk/spongenet/parse.py =================================================================== --- spongenet/trunk/spongenet/parse.py (revision 374) +++ spongenet/trunk/spongenet/parse.py (revision 377) @@ -10,5 +10,5 @@ > python parse.py --test -Test silent import. +Test silent import: >>> import parse @@ -40,5 +40,5 @@ Run doctests as unittest suite. - Test silent import + Test silent import: >>> from parse import _test @@ -57,5 +57,5 @@ Return the XML document file path from the command line. - Supply too few arguments on command line. + Supply too few arguments on command line: >>> save_stdout = sys.stdout @@ -68,5 +68,5 @@ True - Supply too many arguments on the command line. + Supply too many arguments on the command line: >>> save_stdout = sys.stdout @@ -79,5 +79,5 @@ True - Supply non-file argument. + Supply non-file argument: >>> save_stdout = sys.stdout @@ -94,5 +94,5 @@ True - Supply nonexistent file argument. + Supply nonexistent file argument: >>> save_stdout = sys.stdout @@ -109,5 +109,5 @@ True - Supply valid XML document path argument. + Supply valid XML document path argument: >>> _xmldoc_path = os.path.join( @@ -145,5 +145,5 @@ Return the XML document as a string from a file at path. - Get the test reference data. + Get the test reference data: >>> xmlref = os.path.join( @@ -156,5 +156,5 @@ >>> xml_doc_md5s = namespace["XML_DOC_MD5S"] - Pick a test document. + Pick a test document: >>> xmldoc_glob = os.path.join( @@ -165,5 +165,5 @@ >>> _xmldoc = xmldoc(_xmldoc_path) - Verify the test document matches the reference data. + Verify the test document matches the reference data: >>> xmldoc_lines = _xmldoc.splitlines() @@ -191,5 +191,5 @@ A data point for a sponge sensor sample." - Instantiate a valid Point object. + Instantiate a valid Point object: >>> xmldoc_glob = os.path.join( @@ -235,5 +235,5 @@ A collection of data points for a sponge sensor sample. - Instantiate a valid Sensor object. + Instantiate a valid Sensor object: >>> xmldoc_glob = os.path.join( @@ -289,5 +289,5 @@ Data from a collection of sponge sensors for a single time sample. - Instantiate a valid Device object. + Instantiate a valid Device object: >>> xmldoc_glob = os.path.join( @@ -368,5 +368,5 @@ A collection of sponge data samples from a collection of sensors. - Instantiate a valid Data object. + Instantiate a valid Data object: >>> xmldoc_glob = os.path.join( @@ -399,5 +399,5 @@ Run module as script. - Test silent import. + Test silent import: >>> from parse import _main