changeset 32:da4d5c5831c6

serialization testing stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 26 Mar 2012 20:23:48 -0700
parents 5571d1608cba
children b7d6a90b0bb5
files tests/unit.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/unit.py	Mon Mar 26 17:06:18 2012 -0700
+++ b/tests/unit.py	Mon Mar 26 20:23:48 2012 -0700
@@ -7,8 +7,14 @@
 import configuration
 import os
 import sys
+import tempfile
 import unittest
 
+try:
+    import json
+except ImportError:
+    import simplejson as json
+
 from example import ExampleConfiguration # example configuration to test
 
 # globals