@@ -208,9 +208,11 @@ def testManifestBasedRlocation(self):
208
208
def testManifestBasedRlocationWithRepoMappingFromMain (self ):
209
209
with _MockFile (
210
210
contents = [
211
+ ",config.json,config.json~1.2.3" ,
211
212
",my_module,_main" ,
212
213
",my_protobuf,protobuf~3.19.2" ,
213
214
",my_workspace,_main" ,
215
+ "protobuf~3.19.2,config.json,config.json~1.2.3" ,
214
216
"protobuf~3.19.2,protobuf,protobuf~3.19.2" ,
215
217
]
216
218
) as rm , _MockFile (
@@ -281,9 +283,11 @@ def testManifestBasedRlocationWithRepoMappingFromMain(self):
281
283
def testManifestBasedRlocationWithRepoMappingFromOtherRepo (self ):
282
284
with _MockFile (
283
285
contents = [
286
+ ",config.json,config.json~1.2.3" ,
284
287
",my_module,_main" ,
285
288
",my_protobuf,protobuf~3.19.2" ,
286
289
",my_workspace,_main" ,
290
+ "protobuf~3.19.2,config.json,config.json~1.2.3" ,
287
291
"protobuf~3.19.2,protobuf,protobuf~3.19.2" ,
288
292
]
289
293
) as rm , _MockFile (
@@ -374,9 +378,11 @@ def testDirectoryBasedRlocationWithRepoMappingFromMain(self):
374
378
with _MockFile (
375
379
name = "_repo_mapping" ,
376
380
contents = [
381
+ "_,config.json,config.json~1.2.3" ,
377
382
",my_module,_main" ,
378
383
",my_protobuf,protobuf~3.19.2" ,
379
384
",my_workspace,_main" ,
385
+ "protobuf~3.19.2,config.json,config.json~1.2.3" ,
380
386
"protobuf~3.19.2,protobuf,protobuf~3.19.2" ,
381
387
],
382
388
) as rm :
@@ -439,9 +445,11 @@ def testDirectoryBasedRlocationWithRepoMappingFromOtherRepo(self):
439
445
with _MockFile (
440
446
name = "_repo_mapping" ,
441
447
contents = [
448
+ "_,config.json,config.json~1.2.3" ,
442
449
",my_module,_main" ,
443
450
",my_protobuf,protobuf~3.19.2" ,
444
451
",my_workspace,_main" ,
452
+ "protobuf~3.19.2,config.json,config.json~1.2.3" ,
445
453
"protobuf~3.19.2,protobuf,protobuf~3.19.2" ,
446
454
],
447
455
) as rm :
0 commit comments