mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
implement import-db command (#10040)
* implement import-db command * generate .dvc file * update * fix tests * pin dbt-fal * try to run on ci * use os.chdir * fix * revert * require dbt-core>=1.5 * add db config schema * remove platformdirs constraints * use logger.getChild * improve error messaging * rename cli flag --export-format to --output-format * use feature flag for db config * hide command from dvc commands list * refactor dependency._get * remove todo * refactor dependency._get * fix dbt installation check
This commit is contained in:
@@ -69,7 +69,7 @@ def test_stage_update(dvc, mocker):
|
||||
is_repo_import.return_value = True
|
||||
with dvc.lock:
|
||||
stage.update()
|
||||
reproduce.assert_called_once_with(no_download=None, jobs=None)
|
||||
reproduce.assert_called_once_with(no_download=None, jobs=None, force=False)
|
||||
|
||||
is_repo_import.return_value = False
|
||||
with pytest.raises(StageUpdateError):
|
||||
|
||||
Reference in New Issue
Block a user