X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fopnfv_tests%2Fopenstack%2Fbarbican%2Fbarbican.py;h=7b1bb24f73d6b6fc9ecf90d955e154f03cc104da;hb=2a0702ea914a574ffa7c6d6f83a5c606e24ebd0a;hp=b9488c2b60f76917f7f760e9cf1c5d61767b64ee;hpb=0619955a7998868c437a462c9ece3eb1ea7a5277;p=functest.git diff --git a/functest/opnfv_tests/openstack/barbican/barbican.py b/functest/opnfv_tests/openstack/barbican/barbican.py index b9488c2b6..7b1bb24f7 100644 --- a/functest/opnfv_tests/openstack/barbican/barbican.py +++ b/functest/opnfv_tests/openstack/barbican/barbican.py @@ -36,6 +36,6 @@ class Barbican(tempest.TempestCommon): if not rconfig.has_section('image-feature-enabled'): rconfig.add_section('image-feature-enabled') rconfig.set('image-feature-enabled', 'api_v1', False) - with open(self.conf_file, 'wb') as config_file: + with open(self.conf_file, 'w') as config_file: rconfig.write(config_file) self.backup_tempest_config(self.conf_file, self.res_dir)