mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
16 KiB
Plaintext
78 lines
16 KiB
Plaintext
{
|
|
_TestParameters(profile_name='module_modern_m2c', value=None): _TestOutput(payload='null', round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=None, tags=(Deprecated(msg='x'),)): _TestOutput(payload='null', round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=None, tags=(TrustedAsTemplate(),)): _TestOutput(payload='null', round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=True): _TestOutput(payload='true', round_trip=True, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=True, tags=(Deprecated(msg='x'),)): _TestOutput(payload='true', round_trip=True, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=True, tags=(TrustedAsTemplate(),)): _TestOutput(payload='true', round_trip=True, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1): _TestOutput(payload='1', round_trip=1, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": 1, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedInt"}', round_trip=1, tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1.1): _TestOutput(payload='1.1', round_trip=1.1, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1.1, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": 1.1, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedFloat"}', round_trip=1.1, tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=1.1, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hi'): _TestOutput(payload='"hi"', round_trip='hi', tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hi', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "hi", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedStr"}', round_trip='hi', tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hi', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='汉语'): _TestOutput(payload='"汉语"', round_trip='汉语', tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='汉语', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "汉语", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedStr"}', round_trip='汉语', tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value='汉语', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=b'hi'): _TestOutput(payload=TypeError("Object of type 'bytes' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=b'hi', tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Object of type 'bytes' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=b'hi', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'bytes' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc)): _TestOutput(payload='{"iso8601": "2024-01-02T03:04:05.000006+00:00", "fold": 1, "__ansible_type": "AnsibleSerializableDateTime"}', round_trip=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, tzinfo=datetime.timezone.utc), tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": {"iso8601": "2024-01-02T03:04:05.000006+00:00", "fold": 1, "__ansible_type": "AnsibleSerializableDateTime"}, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedDateTime"}', round_trip=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, tzinfo=datetime.timezone.utc), tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1)): _TestOutput(payload='{"iso8601": "01:02:03.000004+00:00", "fold": 1, "__ansible_type": "AnsibleSerializableTime"}', round_trip=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc), tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": {"iso8601": "01:02:03.000004+00:00", "fold": 1, "__ansible_type": "AnsibleSerializableTime"}, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedTime"}', round_trip=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc), tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.date(2024, 1, 2)): _TestOutput(payload='{"iso8601": "2024-01-02", "__ansible_type": "AnsibleSerializableDate"}', round_trip=datetime.date(2024, 1, 2), tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.date(2024, 1, 2), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": {"iso8601": "2024-01-02", "__ansible_type": "AnsibleSerializableDate"}, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedDate"}', round_trip=datetime.date(2024, 1, 2), tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=datetime.date(2024, 1, 2), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=(1,)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=(1,), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": [1], "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedTuple"}', round_trip=[1], tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=(1,), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=[1]): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=[1], tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": [1], "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedList"}', round_trip=[1], tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value=[1], tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomSequence([1])): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomSequence([1]), tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomSequence([1]), tags=(TrustedAsTemplate(),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hello'): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hello', tags=(Deprecated(msg='x'),)): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value='hello', tags=(TrustedAsTemplate(),)): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42): _TestOutput(payload='42', round_trip=42, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42', round_trip=42, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42, tags=(TrustedAsTemplate(),)): _TestOutput(payload='42', round_trip=42, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42.0): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42.0, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=42.0, tags=(TrustedAsTemplate(),)): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1}): _TestOutput(payload='[1]', round_trip=[1], tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": [1], "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedSet"}', round_trip=[1], tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={'a': 1}): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={'a': 1}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": {"a": 1}, "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedDict"}', round_trip={'a': 1}, tags=(Deprecated(msg='x'),)),
|
|
_TestParameters(profile_name='module_modern_m2c', value={'a': 1}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomMapping({'a': 1})): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomMapping({'a': 1}), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value=CustomMapping({'a': 1}), tags=(TrustedAsTemplate(),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={(1, 2): 'three'}): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={(1, 2): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={(1, 2): 'three'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={frozenset({1, 2}): 'three'}): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={frozenset({1, 2}): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={frozenset({1, 2}): 'three'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1: 'two'}): _TestOutput(payload=TypeError("Key of type 'int' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'int' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1: 'two'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'int' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1.1: 'two'}): _TestOutput(payload=TypeError("Key of type 'float' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1.1: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'float' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={1.1: 'two'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'float' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={True: 'two'}): _TestOutput(payload=TypeError("Key of type 'bool' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={True: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'bool' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={True: 'two'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'bool' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={None: 'two'}): _TestOutput(payload=TypeError("Key of type 'NoneType' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={None: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'NoneType' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
_TestParameters(profile_name='module_modern_m2c', value={None: 'two'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'NoneType' is not JSON serializable by the 'module_modern_m2c' profile."), round_trip=None, tags=()),
|
|
}
|