remove dynamic function default

This commit is contained in:
Chris MacNaughton
2019-01-30 11:59:44 +01:00
parent a49dfb79c9
commit fdffe20a8a
2 changed files with 4 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ from zaza.utilities.file_assertions import (
)
def _make_test_function(application, file_details, paths=[]):
def _make_test_function(application, file_details, paths=None):
def test(self):
for unit in model.get_units(application):
unit = unit.entity_id

View File

@@ -17,8 +17,10 @@
import zaza.model as model
def assert_path_glob(test_case, unit, file_details, paths=[]):
def assert_path_glob(test_case, unit, file_details, paths=None):
"""Verify all files in a given directory."""
if not paths:
paths = []
result = model.run_on_unit(
unit, 'bash -c "'
'shopt -s -q globstar; '