aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-01-12 23:33:04 +0100
committerGuido Günther <agx@sigxcpu.org>2018-01-12 23:33:04 +0100
commitc782a29c452eb68bd49951fc8180c907793ae53f (patch)
tree33155b0ce330ad94b28074d25f76b30d5e13542f /tests
parent74ca1faae933be112d59704aea4d4aac9657bf01 (diff)
Fix typo in env var names
Thanks: Nish Aravamudan for pointing this out
Diffstat (limited to 'tests')
-rw-r--r--tests/18_test_Config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/18_test_Config.py b/tests/18_test_Config.py
index 51bc9927..60cd9cff 100644
--- a/tests/18_test_Config.py
+++ b/tests/18_test_Config.py
@@ -67,12 +67,12 @@ class TestConfigParser(unittest.TestCase, GbpLogTester):
With disabled deprecations we shouldn't see a log line
"""
for prefix in ['', 'git-']:
- os.environ['GBP_DISABLE_SECTION_DEPRECTATION'] = 'true'
+ os.environ['GBP_DISABLE_SECTION_DEPRECATION'] = 'true'
parser = GbpOptionParser('%scmd2' % prefix)
self.assertEqual(parser.config['single_git_override_option1'], 'single_git_override_value1')
for line in range(0, 2):
self._check_log_empty()
- os.environ.pop('GBP_DISABLE_SECTION_DEPRECTATION')
+ os.environ.pop('GBP_DISABLE_SECTION_DEPRECATION')
def test_new_overrides_git(self):
"""