#NEWLINE# def test_deserialization_example_6( self ) : #NEWLINE# #INDENT# '\n        Test the deserialization of example 6 which is a simple entity\n        description.\n        ' #NEWLINE# actual_doc = prov . ProvDocument . deserialize ( source = os . path . join ( DATA_PATH , 'example_06.xml' ) , format = 'xml' ) #NEWLINE# expected_document = prov . ProvDocument ( ) #NEWLINE# ex_ns = expected_document . add_namespace ( * EX_NS ) #NEWLINE# expected_document . add_namespace ( * EX_TR ) #NEWLINE# expected_document . entity ( 'tr:WD-prov-dm-20111215' , ( ( prov . PROV_TYPE , ex_ns [ 'Document' ] ) , ( 'ex:version' , '2' ) ) ) #NEWLINE# self . assertEqual ( actual_doc , expected_document )