mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-18 23:10:14 +01:00
tests: checkout: test CLI for single files
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -37,8 +37,12 @@ class TestCheckout(TestRepro):
|
||||
|
||||
class TestCheckoutSingleStage(TestCheckout):
|
||||
def test(self):
|
||||
self.dvc.checkout(self.foo_stage.path)
|
||||
self.dvc.checkout(self.data_dir_stage.path)
|
||||
ret = main(['checkout', self.foo_stage.path])
|
||||
self.assertEqual(ret, 0)
|
||||
|
||||
ret = main(['checkout', self.data_dir_stage.path])
|
||||
self.assertEqual(ret, 0)
|
||||
|
||||
self._test_checkout()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user