@@ -91,23 +91,23 @@ def test_zero_start(repeat_waveform):
9191 """Test if zero start does not raise an error."""
9292 repeat_waveform ["user_waveform" ][0 ]["start" ] = 0
9393 repeat_tendency = RepeatTendency (** repeat_waveform )
94- assert not repeat_tendency .annotations . get ()
94+ assert not repeat_tendency .annotations
9595
9696
9797def test_one_start (repeat_waveform ):
9898 """Test if non-zero start raises an error."""
9999 repeat_waveform ["user_waveform" ][0 ]["start" ] = 1
100100 repeat_tendency = RepeatTendency (** repeat_waveform )
101- assert repeat_tendency .annotations . get ()
101+ assert repeat_tendency .annotations
102102
103103
104104def test_empty ():
105105 """Test if ill-defined tendency raises an error."""
106106 repeat_tendency = RepeatTendency ()
107- assert repeat_tendency .annotations . get ()
107+ assert repeat_tendency .annotations
108108
109109 repeat_tendency = RepeatTendency (user_duration = 8 )
110- assert repeat_tendency .annotations . get ()
110+ assert repeat_tendency .annotations
111111
112112
113113def check_values_at_times (target_times , times , values , expected_value ):
@@ -136,7 +136,7 @@ def test_filled(repeat_waveform):
136136 """Test if tendencies in repeated waveform are filled correctly."""
137137
138138 repeat_tendency = RepeatTendency (** repeat_waveform )
139- assert not repeat_tendency .annotations . get ()
139+ assert not repeat_tendency .annotations
140140 tendencies = repeat_tendency .waveform .tendencies
141141 assert isinstance (tendencies [0 ], LinearTendency )
142142 assert tendencies [0 ].start == 0
0 commit comments