def setUp(self):
   BasicMixin.setUp(self)
   os.mkdir(self.software_root)
   self.signature_private_key_file = '/signature/private/key_file'
   self.upload_cache_url = 'http://example.com/uploadcache'
   self.upload_dir_url = 'http://example.com/uploaddir'
   self.shacache_cert_file = '/path/to/shacache/cert/file'
   self.shacache_key_file = '/path/to/shacache/key/file'
   self.shadir_cert_file = '/path/to/shadir/cert/file'
   self.shadir_key_file = '/path/to/shadir/key/file'
Beispiel #2
0
  def setUp(self):
    BasicMixin.setUp(self)
    os.mkdir(self.software_root)
    self.signature_private_key_file = '/signature/private/key_file'
    self.upload_cache_url = 'http://example.com/uploadcache'
    self.upload_dir_url = 'http://example.com/uploaddir'
    self.shacache_cert_file = '/path/to/shacache/cert/file'
    self.shacache_key_file = '/path/to/shacache/key/file'
    self.shadir_cert_file = '/path/to/shadir/cert/file'
    self.shadir_key_file = '/path/to/shadir/key/file'

    # Monkey patch utils module
    utils.bootstrapBuildout = FakeCallAndRead
    utils.launchBuildout = FakeCallAndRead
Beispiel #3
0
 def setUp(self):
   BasicMixin.setUp(self)
   os.mkdir(self.software_root)
   os.mkdir(self.instance_root)