2020-11-13 11:36:52 +00:00
|
|
|
def test_node(repo, node, **kwargs):
|
2020-11-13 20:56:15 +00:00
|
|
|
if node.metadata.get('backups', {}).get('exclude_from_backups', False):
|
|
|
|
return
|
|
|
|
|
|
|
|
if node.dummy:
|
|
|
|
return
|
|
|
|
|
|
|
|
assert len(node.metadata.get('backups', {}).get('paths', set())) > 0, f'{node.name} has backups configured, but no backup paths defined!'
|