diff --git a/tests/test_config.py b/tests/test_config.py index c7ae5d432..a8690a82f 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -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)