Remove confusing test

That's not the behavior we actually have in the config anymore when using
conf._yaml.load().
This commit is contained in:
Florian Bruhin 2017-09-21 20:27:45 +02:00
parent 691cd2d09b
commit b1ddb9a6df

View File

@ -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']