1
0
Fork 0
python-aristaproto/tests/inputs/repeated_duration_timestamp/test_repeated_duration_timestamp.py
Daniel Baumann 8512f66c5a
Adding upstream version 1.2+20240521.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 14:24:15 +01:00

12 lines
274 B
Python

from datetime import (
datetime,
timedelta,
)
from tests.output_aristaproto.repeated_duration_timestamp import Test
def test_roundtrip():
message = Test()
message.times = [datetime.now(), datetime.now()]
message.durations = [timedelta(), timedelta()]