'Test that the RenewableCert constructor will complain if
the renewal configuration file is missing a required file element.'

def test_renewal_incomplete_config(self):

    from certbot import storage
    config = configobj.ConfigObj()
    config['cert'] = 'imaginary_cert.pem'
    config['chain'] = 'imaginary_chain.pem'
    config['fullchain'] = 'imaginary_fullchain.pem'
    config.filename = os.path.join(self.config.config_dir, 'imaginary_config.conf')
    config.write()
    self.assertRaises(errors.CertStorageError, storage.RenewableCert, config.filename, self.config)
