File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ def test_session_data(session_data):
50
50
assert os .path .exists (vp )
51
51
assert os .path .isfile (vp )
52
52
53
+ for vp , df in zip (video_paths , dataframes ):
54
+ _ , _ , num_frames = video_info (vp )
55
+ num_rows = len (df )
56
+ assert num_frames == num_rows , f"Num of frames in the video ({ num_frames } ) differs from the num of rows in the dataframe ({ num_rows } )."
57
+
53
58
54
59
def session_data_list () -> List [Tuple [str , pd .DataFrame , str ]]:
55
60
@@ -90,8 +95,6 @@ def test_df_reparation(client_data):
90
95
diffs = tstamps .diff ().dropna ()
91
96
assert (diffs <= (time_step + THRESHOLD_NS )).all (), "some timestamps difference is longer than expected"
92
97
93
- pass
94
-
95
98
96
99
def test_df_trimming (session_data ):
97
100
_ , dataframes , _ = session_data
You can’t perform that action at this time.
0 commit comments