File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -287,14 +287,8 @@ def test_blob_sequences_prefixed(self):
287
287
self .assertEqual (listing , expected_listing )
288
288
289
289
blobs = self ._get_blobs (self .with_unpfx , "bar:a:b:c" )
290
- self .assertEqual (
291
- blobs ,
292
- {
293
- "a:b:c/test" : {
294
- "input.images" : [[b"experiment: a:b:c" , b"name: Bar" ]]
295
- }
296
- },
297
- )
290
+ expected_blobs = self ._get_blobs (self .bar_provider , "a:b:c" )
291
+ self .assertEqual (blobs , expected_blobs )
298
292
299
293
def test_blob_sequences_unprefixed (self ):
300
294
listing = self .with_unpfx .list_blob_sequences (
@@ -306,14 +300,8 @@ def test_blob_sequences_unprefixed(self):
306
300
self .assertEqual (listing , expected_listing )
307
301
308
302
blobs = self ._get_blobs (self .with_unpfx , "baz" )
309
- self .assertEqual (
310
- blobs ,
311
- {
312
- "baz/test" : {
313
- "input.images" : [[b"experiment: baz" , b"name: BAZ" ]]
314
- }
315
- },
316
- )
303
+ expected_blobs = self ._get_blobs (self .baz_provider , "baz" )
304
+ self .assertEqual (blobs , expected_blobs )
317
305
318
306
def test_blobs_error_cases (self ):
319
307
with self .assertRaisesRegex (
You can’t perform that action at this time.
0 commit comments