Skip to content

Commit b443e5d

Browse files
committed
Fix test struct
1 parent a901744 commit b443e5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

betterproto2/tests/test_struct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
def test_struct_to_dict():
2-
from tests.output_betterproto_pydantic.google.protobuf import ListValue, NullValue, Struct, Value
2+
from tests.outputs.google.google.protobuf import ListValue, NullValue, Struct, Value
33

44
struct = Struct(
55
fields={
6-
"null_field": Value(null_value=NullValue._), # TODO fix the name
6+
"null_field": Value(null_value=NullValue.NULL_VALUE),
77
"number_field": Value(number_value=12),
88
"string_field": Value(string_value="test"),
99
"bool_field": Value(bool_value=True),

0 commit comments

Comments
 (0)