Esempio n. 1
0
 def test_basic_serialize_and_parse_again(self):
     testfile = os.path.join(os.path.dirname(__file__), 
         'testdata', 'basic.php')
     test = load(testfile)
     teststr = dumps(test)
     test2 = loads(teststr)
     self._basic(test2)
Esempio n. 2
0
 def test_basic(self):
     testfile = os.path.join(os.path.dirname(__file__), 
         'testdata', 'basic.php')
     test = load(testfile)
     self._basic(test)