Skip to content

Commit

Permalink
test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinner-lyft committed Sep 6, 2020
1 parent adb4880 commit 5bcbfe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_attributes.py
Expand Up @@ -263,7 +263,7 @@ def test_binary_set_serialize(self):
attr = BinarySetAttribute()
assert attr.attr_type == BINARY_SET
assert sorted(attr.serialize({b'foo', b'bar'})) == ['YmFy', 'Zm9v']
assert attr.serialize(None) is None
assert attr.serialize({}) is None

def test_binary_set_round_trip(self):
"""
Expand Down Expand Up @@ -342,7 +342,7 @@ def test_number_set_serialize(self):
"""
attr = NumberSetAttribute()
assert attr.serialize({1, 2}) == [json.dumps(val) for val in sorted({1, 2})]
assert attr.serialize(None) is None
assert attr.serialize({}) is None

def test_number_set_attribute(self):
"""
Expand Down

0 comments on commit 5bcbfe1

Please sign in to comment.