1
0
Fork 0
python-aristaproto/tests/inputs/repeated_duration_timestamp/test_repeated_duration_timestamp.py

13 lines
274 B
Python
Raw Normal View History

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()]