| |
---|
| | # test-tc.py - A Test Driver For The 'tconfpy' Configuration File Parser |
---|
| | # Copyright (c) 2003-2004 TundraWare Inc. All Rights Reserved. |
---|
| | |
---|
| | PROGNAME = "tconfpy Test Driver" |
---|
| | RCSID = "$Id: test-tc.py,v 1.128 2004/04/07 08:12:37 tundra Exp $" |
---|
| | RCSID = "$Id: test-tc.py,v 1.129 2004/04/07 08:32:50 tundra Exp $" |
---|
| | VERSION = RCSID.split()[2] |
---|
| | |
---|
| | # Copyright Information |
---|
| | |
---|
| |
---|
| | # And stuff them into the symbol table |
---|
| | symtbl["MyComplex1"] = mc1 |
---|
| | symtbl["MyComplex2"] = mc2 |
---|
| | |
---|
| | # Just for fun, define an initial namespace and |
---|
| | # some other "legal" namespaces for use in testing |
---|
| | # the AllowNewNamespaces option of the API |
---|
| | |
---|
| | des = VarDescriptor() |
---|
| | des.Value = "" # This is the initial namespace |
---|
| | des.LegalVals = ["NS1", "NS2"] |
---|
| | symtbl["NAMESPACE"] = des |
---|
| | |
---|
| | |
---|
| | #---------------------------------------------------------------------------# |
---|
| | # Nothing Else Should Need Changing Below Here |
---|
| | #---------------------------------------------------------------------------# |
---|
| |
---|
| | |