@@ -1519,7 +1519,7 @@ def test_int_dtype(self):
15191519 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.IntegerAttributeMetadata" )
15201520
15211521 def test_complex_int_dtype (self ):
1522- """'int' produces ComplexIntegerAttributeMetadata."""
1522+ """'int' with complex=True produces ComplexIntegerAttributeMetadata."""
15231523 result = self .od ._attribute_payload ("new_Count" , "int" , complex = True )
15241524 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexIntegerAttributeMetadata" )
15251525
@@ -1534,7 +1534,7 @@ def test_decimal_dtype(self):
15341534 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.DecimalAttributeMetadata" )
15351535
15361536 def test_complex_decimal_dtype (self ):
1537- """'decimal' produces ComplexDecimalAttributeMetadata."""
1537+ """'decimal' with complex=True produces ComplexDecimalAttributeMetadata."""
15381538 result = self .od ._attribute_payload ("new_Price" , "decimal" , complex = True )
15391539 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexDecimalAttributeMetadata" )
15401540
@@ -1549,7 +1549,7 @@ def test_float_dtype(self):
15491549 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.DoubleAttributeMetadata" )
15501550
15511551 def test_complex_float_dtype (self ):
1552- """'float' produces ComplexDoubleAttributeMetadata."""
1552+ """'float' with complex=True produces ComplexDoubleAttributeMetadata."""
15531553 result = self .od ._attribute_payload ("new_Score" , "float" , complex = True )
15541554 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexDoubleAttributeMetadata" )
15551555
@@ -1564,7 +1564,7 @@ def test_datetime_dtype(self):
15641564 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.DateTimeAttributeMetadata" )
15651565
15661566 def test_complex_datetime_dtype (self ):
1567- """'datetime' produces ComplexDateTimeAttributeMetadata."""
1567+ """'datetime' with complex=True produces ComplexDateTimeAttributeMetadata."""
15681568 result = self .od ._attribute_payload ("new_CreatedDate" , "datetime" , complex = True )
15691569 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexDateTimeAttributeMetadata" )
15701570
@@ -1579,7 +1579,7 @@ def test_bool_dtype(self):
15791579 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.BooleanAttributeMetadata" )
15801580
15811581 def test_complex_bool_dtype (self ):
1582- """'bool' produces ComplexBooleanAttributeMetadata."""
1582+ """'bool' with complex=True produces ComplexBooleanAttributeMetadata."""
15831583 result = self .od ._attribute_payload ("new_IsActive" , "bool" , complex = True )
15841584 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexBooleanAttributeMetadata" )
15851585
@@ -1594,7 +1594,7 @@ def test_file_dtype(self):
15941594 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.FileAttributeMetadata" )
15951595
15961596 def test_complex_file_dtype (self ):
1597- """'file' produces ComplexFileAttributeMetadata."""
1597+ """'file' with complex=True produces ComplexFileAttributeMetadata."""
15981598 result = self .od ._attribute_payload ("new_Attachment" , "file" , complex = True )
15991599 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexFileAttributeMetadata" )
16001600
@@ -1613,7 +1613,7 @@ def test_memo_type(self):
16131613 self .assertNotIn ("IsPrimaryName" , result )
16141614
16151615 def test_complex_memo_type (self ):
1616- """'memo' produces ComplexMemoAttributeMetadata with MaxLength 4000."""
1616+ """'memo' with complex=True produces ComplexMemoAttributeMetadata with MaxLength 4000."""
16171617 result = self .od ._attribute_payload ("new_Notes" , "memo" , complex = True )
16181618 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexMemoAttributeMetadata" )
16191619 self .assertEqual (result ["SchemaName" ], "new_Notes" )
@@ -1635,7 +1635,7 @@ def test_string_type_max_length(self):
16351635 self .assertEqual (result ["FormatName" ], {"Value" : "Text" })
16361636
16371637 def test_complex_string_type_max_length (self ):
1638- """'string' produces ComplexStringAttributeMetadata with MaxLength 200."""
1638+ """'string' with complex=True produces ComplexStringAttributeMetadata with MaxLength 200."""
16391639 result = self .od ._attribute_payload ("new_Title" , "string" , complex = True )
16401640 self .assertEqual (result ["@odata.type" ], "Microsoft.Dynamics.CRM.ComplexStringAttributeMetadata" )
16411641 self .assertEqual (result ["MaxLength" ], 200 )
0 commit comments