mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 23:09:35 +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
@@ -137,13 +137,13 @@ class TestGC(TestDvc):
|
||||
self.assertIsInstance(args.func(args), CmdGC)
|
||||
|
||||
|
||||
class TestGCMultipleProjects(TestDvc):
|
||||
class TestGCMultipleDvcRepos(TestDvc):
|
||||
def test(self):
|
||||
args = parse_args(["gc", "-p", "/tmp/asdf", "/tmp/xyz"])
|
||||
|
||||
self.assertIsInstance(args.func(args), CmdGC)
|
||||
|
||||
self.assertEqual(args.projects, ["/tmp/asdf", "/tmp/xyz"])
|
||||
self.assertEqual(args.repos, ["/tmp/asdf", "/tmp/xyz"])
|
||||
|
||||
|
||||
class TestConfig(TestDvc):
|
||||
|
||||
Reference in New Issue
Block a user