Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 405581e

Browse files
committed
timestamp_micros required
1 parent 09e8797 commit 405581e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/unit/data/test_mutations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,13 +720,13 @@ def _make_one(self, *args, **kwargs):
720720
@pytest.mark.parametrize("input_val", [2**64, -(2**64)])
721721
def test_ctor_large_int(self, input_val):
722722
with pytest.raises(ValueError) as e:
723-
self._make_one(family="f", qualifier=b"b", value=input_val)
723+
self._make_one(family="f", qualifier=b"b", value=input_val, timestamp_micros=123)
724724
assert "int values must be between" in str(e.value)
725725

726726
@pytest.mark.parametrize("input_val", ["", "a", "abc", "hello world!"])
727727
def test_ctor_str_value(self, input_val):
728728
with pytest.raises(TypeError) as e:
729-
self._make_one(family="f", qualifier=b"b", value=input_val)
729+
self._make_one(family="f", qualifier=b"b", value=input_val, timestamp_micros=123)
730730
assert "value must be int" in str(e.value)
731731

732732
def test_ctor(self):
@@ -791,7 +791,6 @@ def test__to_pb(self):
791791
(1234567890),
792792
(1),
793793
(0),
794-
(None),
795794
],
796795
)
797796
def test_is_idempotent(self, timestamp):

0 commit comments

Comments
 (0)