diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-12-08 19:30:13 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-12-08 20:03:15 +0100 |
commit | 178c4ae00b08762352739e44bddcc8669bffc523 (patch) | |
tree | 448bb42108b95a1de89c4fc1f713fe3cce4d11b1 /tests/19_test_gbp_scripts_config.py | |
parent | b6a94b6002ab66f2125d25c2c890df903c0c53b8 (diff) |
config: use better variable names
Gbp-Dch: Ignore
Diffstat (limited to 'tests/19_test_gbp_scripts_config.py')
-rw-r--r-- | tests/19_test_gbp_scripts_config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/19_test_gbp_scripts_config.py b/tests/19_test_gbp_scripts_config.py index 209fcf5d..c0c150bb 100644 --- a/tests/19_test_gbp_scripts_config.py +++ b/tests/19_test_gbp_scripts_config.py @@ -1,5 +1,5 @@ # vim: set fileencoding=utf-8 : -# (C) 2014 Guido Günther <agx@sigxcpu.org> +# (C) 2014,2016 Guido Günther <agx@sigxcpu.org> # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -45,12 +45,12 @@ class TestGbpConfigCommand(unittest.TestCase): def test_invocation_single_value(self): """Can invoke it for a sngle value without error""" - ret = gbp.scripts.config.main(['doesnotmatter', 'config.color']) + ret = gbp.scripts.config.main(['argv0', 'config.color']) self.assertEqual(ret, 0) def test_invocation_missing_value(self): """Can we detect a missing value""" - ret = gbp.scripts.config.main(['doesnotmatter', 'config.doesnotexist']) + ret = gbp.scripts.config.main(['argv0', 'config.doesnotexist']) self.assertEqual(ret, 2) def test_print_cmd_single_value_default(self): |