aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2010-12-25 14:05:28 -0500
committerGravatar rcoh <rcoh@mit.edu>2010-12-25 14:05:28 -0500
commit9e1e0f0c0b6835cc3755bbaa6a364475133ce848 (patch)
treede01afb5198f0bf2913344118d68211332d0c732 /util
parent1786a0e660f299f1608dd2e8087843e71de8fb3f (diff)
added test directory for unittests and an example skeleton unit test. WRITE TESTS FOR STUFF YOU
WRITE. PLZ. RCOH
Diffstat (limited to 'util')
-rw-r--r--util/Config.py4
-rw-r--r--util/Strings.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/util/Config.py b/util/Config.py
index bf1d5da..7bc8dff 100644
--- a/util/Config.py
+++ b/util/Config.py
@@ -39,9 +39,9 @@ def compositeXMLTrees(parentTree, overridingTree):
if mode != 'Replace' and mode != 'Merge':
print 'Bad Mode. Replacing'
mode = 'Replace'
- if mode = 'Replace':
+ if mode == 'Replace':
pass #we don't need to do anything
- if mode = 'Merge':
+ if mode == 'Merge':
pass #TODO: code this
def findElementsByTag(tag, eList):
diff --git a/util/Strings.py b/util/Strings.py
index 698b4ec..40ad86b 100644
--- a/util/Strings.py
+++ b/util/Strings.py
@@ -4,4 +4,4 @@ DEFAULT_MAPPER = 'DefaultPixelMapper'
#XMLStuff
-OVERRIDE_BEHAVIOR
+OVERRIDE_BEHAVIOR = 'OverrideBehavior'