Skip to content

Commit ba3dd4e

Browse files
committed
fix: Test clean up
1 parent 826c55d commit ba3dd4e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_unit_tests.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,9 @@ def test_get_manifest_by_label(self):
8080
# Test getting manifest by the specific label
8181
label = "contentauth:urn:uuid:c85a2b90-f1a0-4aa4-b17f-f938b475804e"
8282
manifest = reader.get_manifest_by_label(label)
83-
84-
# Check that we got the correct manifest
8583
self.assertEqual(manifest["label"], label)
8684

87-
# Verify it's the same as the active manifest (since there's only one)
85+
# It should be the active manifest too, so cross-check
8886
active_manifest = reader.get_active_manifest()
8987
self.assertEqual(manifest, active_manifest)
9088

@@ -95,8 +93,6 @@ def test_stream_get_non_active_manifest_by_label(self):
9593

9694
non_active_label = "urn:uuid:54281c07-ad34-430e-bea5-112a18facf0b"
9795
non_active_manifest = reader.get_manifest_by_label(non_active_label)
98-
99-
# Check that we got the correct manifest
10096
self.assertEqual(non_active_manifest["label"], non_active_label)
10197

10298
# Verify it's not the active manifest

0 commit comments

Comments
 (0)