@@ -96,6 +96,7 @@ def test_stream_get_non_active_manifest_by_label(self):
9696 self .assertEqual (non_active_manifest ["label" ], non_active_label )
9797
9898 # Verify it's not the active manifest
99+ # (that test case has only one other manifest that is not the active manifest)
99100 active_manifest = reader .get_active_manifest ()
100101 self .assertNotEqual (non_active_manifest , active_manifest )
101102 self .assertNotEqual (non_active_manifest ["label" ], active_manifest ["label" ])
@@ -105,7 +106,7 @@ def test_stream_get_non_active_manifest_by_label_not_found(self):
105106 with open (video_path , "rb" ) as file :
106107 reader = Reader ("video/mp4" , file )
107108
108- # Try to get a manifest with a label that clearly doesn't exist
109+ # Try to get a manifest with a label that clearly doesn't exist...
109110 non_existing_label = "urn:uuid:clearly-not-existing"
110111 with self .assertRaises (KeyError ):
111112 reader .get_manifest_by_label (non_existing_label )
@@ -125,7 +126,6 @@ def test_stream_read_get_validation_results(self):
125126 self .assertIsNotNone (validation_results )
126127 self .assertIsInstance (validation_results , dict )
127128
128- # Verify some active manifest validation results
129129 self .assertIn ("activeManifest" , validation_results )
130130 active_manifest_results = validation_results ["activeManifest" ]
131131 self .assertIsInstance (active_manifest_results , dict )
0 commit comments