aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tests/test_config.py')
-rw-r--r--mediagoblin/tests/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_config.py b/mediagoblin/tests/test_config.py
index 7d8c65c1..b13adae6 100644
--- a/mediagoblin/tests/test_config.py
+++ b/mediagoblin/tests/test_config.py
@@ -36,7 +36,7 @@ def test_read_mediagoblin_config():
assert this_conf['carrotapp']['carrotcake'] == False
assert this_conf['carrotapp']['num_carrots'] == 1
- assert not this_conf['carrotapp'].has_key('encouragement_phrase')
+ assert 'encouragement_phrase' not in this_conf['carrotapp']
assert this_conf['celery']['EAT_CELERY_WITH_CARROTS'] == True
# A good file