{
_TestParameters(profile_name='module_legacy_m2c', value=None): _TestOutput(payload='null', round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=None, tags=(Deprecated(msg='x'),)): _TestOutput(payload='null', round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=None, tags=(TrustedAsTemplate(),)): _TestOutput(payload='null', round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=True): _TestOutput(payload='true', round_trip=True, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=True, tags=(Deprecated(msg='x'),)): _TestOutput(payload='true', round_trip=True, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=True, tags=(TrustedAsTemplate(),)): _TestOutput(payload='true', round_trip=True, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=1): _TestOutput(payload='1', round_trip=1, tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value=1, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=1.1): _TestOutput(payload='1.1', round_trip=1.1, tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value=1.1, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='hi'): _TestOutput(payload='"hi"', round_trip='hi', tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value='hi', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='汉语'): _TestOutput(payload='"\\u6c49\\u8bed"', round_trip='汉语', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='汉语', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "\\u6c49\\u8bed", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedStr"}', round_trip='汉语', tags=(Deprecated(msg='x'),)),
_TestParameters(profile_name='module_legacy_m2c', value='汉语', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=b'hi'): _TestOutput(payload='"hi"', round_trip='hi', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=b'hi', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "hi", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedBytes"}', round_trip='hi', tags=(Deprecated(msg='x'),)),
_TestParameters(profile_name='module_legacy_m2c', value=b'hi', tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc)): _TestOutput(payload='"2024-01-02T03:04:05.000006+00:00"', round_trip='2024-01-02T03:04:05.000006+00:00', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "2024-01-02T03:04:05.000006+00:00", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedDateTime"}', round_trip='2024-01-02T03:04:05.000006+00:00', tags=(Deprecated(msg='x'),)),
_TestParameters(profile_name='module_legacy_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_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1)): _TestOutput(payload='"01:02:03.000004+00:00"', round_trip='01:02:03.000004+00:00', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "01:02:03.000004+00:00", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedTime"}', round_trip='01:02:03.000004+00:00', tags=(Deprecated(msg='x'),)),
_TestParameters(profile_name='module_legacy_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_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.date(2024, 1, 2)): _TestOutput(payload='"2024-01-02"', round_trip='2024-01-02', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.date(2024, 1, 2), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"value": "2024-01-02", "tags": [{"msg": "x", "__ansible_type": "Deprecated"}], "__ansible_type": "_AnsibleTaggedDate"}', round_trip='2024-01-02', tags=(Deprecated(msg='x'),)),
_TestParameters(profile_name='module_legacy_m2c', value=datetime.date(2024, 1, 2), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=(1,)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value=(1,), tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=[1]): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value=[1], tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomSequence([1])): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomSequence([1]), tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomSequence([1]), tags=(TrustedAsTemplate(),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='hello'): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='hello', tags=(Deprecated(msg='x'),)): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value='hello', tags=(TrustedAsTemplate(),)): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42): _TestOutput(payload='42', round_trip=42, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42', round_trip=42, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42, tags=(TrustedAsTemplate(),)): _TestOutput(payload='42', round_trip=42, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42.0): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42.0, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=42.0, tags=(TrustedAsTemplate(),)): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={1}): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value={1}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={'a': 1}): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='module_legacy_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_legacy_m2c', value={'a': 1}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Object of type 'TrustedAsTemplate' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomMapping({'a': 1})): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomMapping({'a': 1}), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value=CustomMapping({'a': 1}), tags=(TrustedAsTemplate(),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={(1, 2): 'three'}): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={(1, 2): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={(1, 2): 'three'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={frozenset({1, 2}): 'three'}): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={frozenset({1, 2}): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='module_legacy_m2c', value={frozenset({1, 2}): 'three'}, tags=(TrustedAsTemplate(),)): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'module_legacy_m2c' profile."), round_trip=None, tags=()),
}
