parent
21a10fcb17
commit
b35a808712
@ -205,9 +205,11 @@ class TestConfigPy:
|
||||
assert config.instance._values['bindings.commands'] == expected
|
||||
|
||||
def test_mutating(self, confpy):
|
||||
confpy.write('c.aliases["foo"] = "message-info foo"')
|
||||
confpy.write('c.aliases["foo"] = "message-info foo"',
|
||||
'c.aliases["bar"] = "message-info bar"')
|
||||
configfiles.read_config_py(confpy.filename)
|
||||
assert config.instance._values['aliases']['foo'] == 'message-info foo'
|
||||
assert config.instance._values['aliases']['bar'] == 'message-info bar'
|
||||
|
||||
def test_reading_default_location(self, config_tmpdir):
|
||||
(config_tmpdir / 'config.py').write_text(
|
||||
|
Loading…
Reference in New Issue
Block a user