def dataOut(self):
     """
     Data from a python script on server to the client.
     """
     dataJson = FileChanges.dataWriter({ '<p></p>': 'Some paragraph',                  '<h1></h1>': 'A heading', '<h3 id="prices"></h3>': 'Prices' })
     testJson = '{ <p>: "Some paragraph",
                 </p>\n<h1>: "A heading",
                 </h1>\n<h3 id="prices">: "Prices",
                  </h3>\n: "" }' # check this in browser ajax call. 
 def dataIn(self, someData):
     """
     The data comes from the client browser to the server, and Python scripts.
     """
     dataDict = FileChanges.dataReader('<p>Some paragraph</p><h1>A heading</h1><h3 id="prices">Prices</h3>')
     correctDict = { '<p></p>': 'Some paragraph',
                    '<h1></h1>': 'A heading',
                    '<h3 id="prices"></h3>': 'Prices'
                    }
     assertEquals(dataDict, correctDict)