Skip to content

Commit cb9f818

Browse files
committed
unit test
1 parent 8603973 commit cb9f818

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def test_from_api_repr(self):
217217
"name": "foo",
218218
"type": "record",
219219
"roundingMode": "ROUNDING_MODE_UNSPECIFIED",
220-
"timestampPrecision": 3,
220+
"timestampPrecision": 6,
221221
}
222222
)
223223
self.assertEqual(field.name, "foo")
@@ -230,7 +230,7 @@ def test_from_api_repr(self):
230230
self.assertEqual(field.fields[0].mode, "NULLABLE")
231231
self.assertEqual(field.range_element_type, None)
232232
self.assertEqual(field.rounding_mode, "ROUNDING_MODE_UNSPECIFIED")
233-
self.assertEqual(field._properties["timestampPrecision"], 3)
233+
self.assertEqual(field._properties["timestampPrecision"], 6)
234234

235235
def test_from_api_repr_policy(self):
236236
field = self._get_target_class().from_api_repr(

0 commit comments

Comments
 (0)