Beispiel #1
0
    def setUp(self):
        self.xmlDoc = ovfenvelope.parse("sample-ovf.xml")
        self.section_ary = self.xmlDoc.get_Section()
        self.content_ary = self.xmlDoc.get_Content()
        self.ref_ary = self.xmlDoc.get_References()

        pass
    def setUp(self):
        self.xmlDoc = ovfenvelope.parse("sample-ovf.xml")
        self.section_ary = self.xmlDoc.get_Section()
        self.content_ary = self.xmlDoc.get_Content()
        self.ref_ary = self.xmlDoc.get_References()



        pass
 def setUp(self):
     self.xmlDoc = ovfenvelope.parse(
         os.path.join(
             os.path.dirname(__file__),
             "sample-ovf.xml"
         )
     )
     self.section_ary = self.xmlDoc.get_Section()
     self.content_ary = self.xmlDoc.get_Content()
     self.ref_ary = self.xmlDoc.get_References()
 def setUp(self):
     self.xmlDoc = ovfenvelope.parse(
         os.path.join(os.path.dirname(__file__), "sample-ovf.xml"))
     self.section_ary = self.xmlDoc.get_Section()
     self.content_ary = self.xmlDoc.get_Content()
     self.ref_ary = self.xmlDoc.get_References()