File tree 1 file changed +6
-4
lines changed 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -261,25 +261,27 @@ def test_downstream(tmp_dir, dvc):
261
261
262
262
# B, C should be run (in any order) before D
263
263
# See https://github.com/iterative/dvc/issues/3602
264
- evaluation = dvc .reproduce ("Dvcfile:A-gen" , downstream = True , force = True )
264
+ evaluation = dvc .reproduce (
265
+ PIPELINE_FILE + ":A-gen" , downstream = True , force = True
266
+ )
265
267
266
268
assert len (evaluation ) == 5
267
269
assert (
268
270
isinstance (evaluation [0 ], PipelineStage )
269
- and evaluation [0 ].relpath == "Dvcfile"
271
+ and evaluation [0 ].relpath == PIPELINE_FILE
270
272
and evaluation [0 ].name == "A-gen"
271
273
)
272
274
names = set ()
273
275
for stage in evaluation [1 :3 ]:
274
276
if isinstance (stage , PipelineStage ):
275
- assert stage .relpath == "Dvcfile"
277
+ assert stage .relpath == PIPELINE_FILE
276
278
names .add (stage .name )
277
279
else :
278
280
names .add (stage .relpath )
279
281
assert names == {"B-gen" , "C.dvc" }
280
282
assert (
281
283
isinstance (evaluation [3 ], PipelineStage )
282
- and evaluation [3 ].relpath == "Dvcfile"
284
+ and evaluation [3 ].relpath == PIPELINE_FILE
283
285
and evaluation [3 ].name == "D-gen"
284
286
)
285
287
assert (
You can’t perform that action at this time.
0 commit comments