From b1ddb9a6df26dbd28bef717945635316d34d5960 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 21 Sep 2017 20:27:45 +0200 Subject: [PATCH] Remove confusing test That's not the behavior we actually have in the config anymore when using conf._yaml.load(). --- tests/unit/config/test_config.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index 36dc90c10..bf423fede 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -619,11 +619,6 @@ class TestConfig: assert conf._yaml.loaded assert conf._values['content.plugins'] is True - def test_read_yaml_invalid(self, conf): - conf._yaml['foo.bar'] = True - with pytest.raises(configexc.NoOptionError): - conf.read_yaml() - def test_get_opt_valid(self, conf): assert conf.get_opt('tabs.show') == configdata.DATA['tabs.show']