def test_dictionary_4(self):
   a = ['<Yuchen>']
   b = [1]
   master={}
   xml_dictionary(a, b, master)
   self.assert_(master == {1:'<Yuchen>'})
 def test_dictionary_2(self):
   a = ['<PillBox><OmegaFi></OmegaFi><PhiDelt></PhiDelt></PillBox>']
   b = [3]
   master={}
   xml_dictionary(a, b, master)
   self.assert_(master == {3 :'<PillBox><OmegaFi></OmegaFi><PhiDelt></PhiDelt></PillBox>'})
 def test_dictionary_3(self):
   a = ['<a><b><c><d><e></e></d></c></b></a>']
   b = [5]
   master={}
   xml_dictionary(a, b, master)
   self.assert_(master == {5:'<a><b><c><d><e></e></d></c></b></a>'})
 def test_dictionary_1(self):
   a = ['<Cooly><Amber></Cooly></Amber>']
   b = [12]
   master={}
   xml_dictionary(a, b, master)
   self.assert_(master == {12 :'<Cooly><Amber></Cooly></Amber>'})