# HG changeset patch # User Jeff Hammel # Date 1332818628 25200 # Node ID da4d5c5831c66654f9cf48fe638281503eb58273 # Parent 5571d1608cbaed5840b43652496c45517cf90b90 serialization testing stubbing diff -r 5571d1608cba -r da4d5c5831c6 tests/unit.py --- 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