remove dynamic function default
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; '
|
||||
|
||||
Reference in New Issue
Block a user