ansible/test/integration/targets/jinja_plugins/test_plugins/good_test.py

14 lines
383 B
Python
Raw Normal View History

# Copyright (c) 2021 Matt Martz <matt@sivel.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
class TestModule:
def tests(self):
return {
'world': lambda x: x.lower() == 'world',
}