comparison tests/unit.py @ 32:da4d5c5831c6

serialization testing stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 26 Mar 2012 20:23:48 -0700
parents b27a7cb2dd5b
children b7d6a90b0bb5
comparison
equal deleted inserted replaced
31:5571d1608cba 32:da4d5c5831c6
5 """ 5 """
6 6
7 import configuration 7 import configuration
8 import os 8 import os
9 import sys 9 import sys
10 import tempfile
10 import unittest 11 import unittest
12
13 try:
14 import json
15 except ImportError:
16 import simplejson as json
11 17
12 from example import ExampleConfiguration # example configuration to test 18 from example import ExampleConfiguration # example configuration to test
13 19
14 # globals 20 # globals
15 here = os.path.dirname(os.path.abspath(__file__)) 21 here = os.path.dirname(os.path.abspath(__file__))