From 99db1e3eab85d589dcec6bdb31ca5c98eababe0d Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Wed, 18 Sep 2019 16:59:22 +0200 Subject: [PATCH] Fix test with None path --- zaza/openstack/charm_tests/policyd/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zaza/openstack/charm_tests/policyd/tests.py b/zaza/openstack/charm_tests/policyd/tests.py index bff1b5c..802453c 100644 --- a/zaza/openstack/charm_tests/policyd/tests.py +++ b/zaza/openstack/charm_tests/policyd/tests.py @@ -78,6 +78,7 @@ class PolicydTest(test_utils.OpenStackBaseTest): with zipfile.ZipFile(path, "w") as zfp: for name, contents in files.items(): zfp.writestr(name, contents) + return path def test_policyd_good_yaml(self): # Test that the policyd with a good zipped yaml file puts the yaml file