src/tests/cli/t_pkg_temp_sources.py
changeset 2753 4d4b2324d1c0
parent 2712 d5ec8c11512a
child 2915 a7756acea9ef
equal deleted inserted replaced
2752:fe4116bd7737 2753:4d4b2324d1c0
   124                 for c in certs:
   124                 for c in certs:
   125                         name = "%s_cert.pem" % c
   125                         name = "%s_cert.pem" % c
   126                         portable.copyfile(
   126                         portable.copyfile(
   127                             os.path.join(self.raw_trust_anchor_dir, name),
   127                             os.path.join(self.raw_trust_anchor_dir, name),
   128                             os.path.join(dest_dir, name))
   128                             os.path.join(dest_dir, name))
   129 
       
   130         def image_create(self, *args, **kwargs):
       
   131                 pkg5unittest.ManyDepotTestCase.image_create(self,
       
   132                     *args, **kwargs)
       
   133                 self.ta_dir = os.path.join(self.img_path(), "etc/certs/CA")
       
   134                 os.makedirs(self.ta_dir)
       
   135 
   129 
   136         def __publish_packages(self, rurl):
   130         def __publish_packages(self, rurl):
   137                 """Private helper function to publish packages needed for
   131                 """Private helper function to publish packages needed for
   138                 testing.
   132                 testing.
   139                 """
   133                 """