def test_field_with_variables_with_token_only(self, variable, exp_data): f = VariablesField('') exp_data = { 'Value': exp_data, 'WFSerializationType': 'WFTextTokenAttachment', } assert f.process_value(variable) == exp_data
def test_field_with_variables(self, variable, exp_data): f = VariablesField('') exp_data = { 'Value': exp_data, 'WFSerializationType': 'WFTextTokenString', } assert f.process_value(variable) == exp_data