Skip to content

Commit

Permalink
update test to use set attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinner-lyft committed Sep 5, 2020
1 parent a351efe commit 896a198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_attributes.py
Expand Up @@ -54,7 +54,7 @@ class CustomAttrMap(MapAttribute):

class DefaultsMap(MapAttribute):
map_field = MapAttribute(default={})
string_field = UnicodeAttribute(null=True)
string_set_field = UnicodeSetAttribute(null=True)


class TestAttributeDescriptor:
Expand Down Expand Up @@ -624,7 +624,7 @@ def test_null_attribute_subclassed_map(self):

def test_null_attribute_map_after_serialization(self):
null_attribute = {
'string_field': '',
'string_set_field': {},
}
attr = DefaultsMap()
serialized = attr.serialize(null_attribute)
Expand Down

0 comments on commit 896a198

Please sign in to comment.