Sha256: dd8796df46425b9d09c807aa8479b0d15793923c1331729d70b66851961a0905
Contents?: true
Size: 713 Bytes
Versions: 6
Compression:
Stored size: 713 Bytes
Contents
# Imports # ============================================================================ from __future__ import (absolute_import, division, print_function) __metaclass__ = type import sys import re import os from ansible.errors import AnsibleError def startswith(string, prefix): ''' >>> startswith('bigfoot', 'big') True ''' return string.startswith( prefix ) class TestModule(object): '''Some string filters''' def tests(self): return { 'startswith': startswith, 'startwith': startswith, } # testing - call camel_case on first cli arg and print result if __name__ == '__main__': import doctest doctest.testmod()
Version data entries
6 entries across 6 versions & 1 rubygems