Skip to content

Commit 5c70061

Browse files
committed
Black again lol
1 parent a914306 commit 5c70061

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

betterproto/tests/test_features.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,22 @@ class Foo(betterproto.Message):
3535
@dataclass
3636
class WithCollections(betterproto.Message):
3737
test_list: List[str] = betterproto.string_field(1)
38-
test_map: Dict[str, str] = betterproto.map_field(2, betterproto.TYPE_STRING, betterproto.TYPE_STRING)
38+
test_map: Dict[str, str] = betterproto.map_field(
39+
2, betterproto.TYPE_STRING, betterproto.TYPE_STRING
40+
)
3941

4042
# Unset with empty collections
4143
with_collections_empty = WithCollections().parse(bytes(WithCollections()))
4244
assert betterproto.serialized_on_wire(with_collections_empty) == False
4345

4446
# Set with non-empty collections
45-
with_collections_list = WithCollections().parse(bytes(WithCollections(test_list=['a', 'b', 'c'])))
47+
with_collections_list = WithCollections().parse(
48+
bytes(WithCollections(test_list=["a", "b", "c"]))
49+
)
4650
assert betterproto.serialized_on_wire(with_collections_list) == True
47-
with_collections_map = WithCollections().parse(bytes(WithCollections(test_map={'a': 'b', 'c': 'd'})))
51+
with_collections_map = WithCollections().parse(
52+
bytes(WithCollections(test_map={"a": "b", "c": "d"}))
53+
)
4854
assert betterproto.serialized_on_wire(with_collections_map) == True
4955

5056

0 commit comments

Comments
 (0)