commit | d52b7d739927c81d8f6658c38157dec42d2fbf7c | [log] [tgz] |
---|---|---|
author | Clint Byrum <clint@fewbar.com> | Wed May 10 19:40:35 2017 -0700 |
committer | Clint Byrum <clint@fewbar.com> | Fri May 19 06:45:31 2017 -0700 |
tree | 83b475f4898afcaadcf6d09daaa29f95226ca1e9 | |
parent | a4471d1f916ea3c5b984e609a2037848fc97237f [diff] |
writing yaml to disk needs bytes Change-Id: Ica7f2e3ef9d5a491f3d1608186b478467c2eb2cf
diff --git a/tests/base.py b/tests/base.py index c680389..5b3a79a 100755 --- a/tests/base.py +++ b/tests/base.py
@@ -1928,7 +1928,7 @@ 'source': {driver: {'config-projects': ['common-config'], 'untrusted-projects': untrusted_projects}}}}] - f.write(yaml.dump(config)) + f.write(yaml.dump(config).encode('utf8')) f.close() self.config.set('zuul', 'tenant_config', os.path.join(FIXTURE_DIR, f.name))