summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 4dabafc83..d31fae113 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -48,13 +48,13 @@ def test_core_config(app, status, warning):
# invalid values
with pytest.raises(AttributeError):
- getattr(cfg, '_value')
+ cfg._value
with pytest.raises(AttributeError):
- getattr(cfg, 'nonexisting_value')
+ cfg.nonexisting_value
# non-value attributes are deleted from the namespace
with pytest.raises(AttributeError):
- getattr(cfg, 'sys')
+ cfg.sys
# setting attributes
cfg.project = 'Foo'