mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-30 07:18:27 +01:00
test: cover "Invalid option value" for config
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -74,3 +74,9 @@ class TestConfigCLI(TestDvc):
|
||||
|
||||
ret = main(['config', 'global.non_existing_field', '-u'])
|
||||
self.assertEqual(ret, 1)
|
||||
|
||||
ret = main(['config', 'core.remote', 'myremote'])
|
||||
self.assertEqual(ret, 0)
|
||||
|
||||
ret = main(['config', 'core.non_existing_field', '-u'])
|
||||
self.assertEqual(ret, 1)
|
||||
|
||||
Reference in New Issue
Block a user