mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 07:18:31 +01:00
pkg: comply with design of other dvc commands
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
from dvc.repo.pkg import Package, PackageParams
|
||||
from dvc.repo.pkg.install import Package
|
||||
from tests.basic_env import TestDvcPkg
|
||||
|
||||
|
||||
@@ -12,9 +12,7 @@ class TestPkgBasic(TestDvcPkg):
|
||||
|
||||
self.to_dir = os.path.join(self._root_dir, self.NEW_PKG_DIR)
|
||||
os.mkdir(self.to_dir)
|
||||
self.dvc.install_pkg(
|
||||
PackageParams(self.pkg_fixture._root_dir, self.to_dir)
|
||||
)
|
||||
self.dvc.pkg.install(self.pkg_fixture._root_dir, self.to_dir)
|
||||
|
||||
def test_installed_dirs_and_files(self):
|
||||
self.assertTrue(os.path.isdir(self.pkg_dir))
|
||||
|
||||
Reference in New Issue
Block a user