mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 15:28:27 +01:00
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups, etc. (#8812)
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups etc
This commit is contained in:
@@ -4,7 +4,7 @@ import textwrap
|
||||
import pytest
|
||||
|
||||
from dvc.dependency.base import DependencyDoesNotExistError
|
||||
from dvc.dvcfile import PIPELINE_FILE
|
||||
from dvc.dvcfile import PROJECT_FILE
|
||||
from dvc.output import OutputDoesNotExistError
|
||||
from dvc.stage.exceptions import StageCommitError
|
||||
|
||||
@@ -234,8 +234,8 @@ def test_commit_pipeline_stage(tmp_dir, dvc, run_copy):
|
||||
|
||||
# just to confirm different variants work
|
||||
assert dvc.commit(f":{stage.addressing}") == [stage]
|
||||
assert dvc.commit(f"{PIPELINE_FILE}:{stage.addressing}") == [stage]
|
||||
assert dvc.commit(PIPELINE_FILE) == [stage]
|
||||
assert dvc.commit(f"{PROJECT_FILE}:{stage.addressing}") == [stage]
|
||||
assert dvc.commit(PROJECT_FILE) == [stage]
|
||||
|
||||
|
||||
def test_imported_entries_unchanged(tmp_dir, dvc, erepo_dir):
|
||||
|
||||
Reference in New Issue
Block a user