mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
dvc: refactor dvc project class
1) split Project's methods into separate files; 2) rename Project into Repo(similar to gitpython's Repo) Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
beb45202fd
commit
ba8d83e9b1
+2
-2
@@ -6,7 +6,7 @@ from git.exc import GitCommandNotFound
|
||||
from unittest import TestCase
|
||||
|
||||
import dvc.logger as logger
|
||||
from dvc.project import Project
|
||||
from dvc.repo import Repo as DvcRepo
|
||||
|
||||
|
||||
class TestDir(TestCase):
|
||||
@@ -111,5 +111,5 @@ class TestGitSubmodule(TestGit):
|
||||
class TestDvc(TestGit):
|
||||
def setUp(self):
|
||||
super(TestDvc, self).setUp()
|
||||
self.dvc = Project.init(self._root_dir)
|
||||
self.dvc = DvcRepo.init(self._root_dir)
|
||||
logger.be_verbose()
|
||||
|
||||
Reference in New Issue
Block a user