shorten lines
This commit is contained in:
parent
44af6f3f1b
commit
57fe674dc4
@ -172,7 +172,8 @@ class TestYaml:
|
|||||||
def test_merge_persist_false(self, monkeypatch, yaml, config_tmpdir):
|
def test_merge_persist_false(self, monkeypatch, yaml, config_tmpdir):
|
||||||
"""Migration of tabs.persist_mode_on_change: False."""
|
"""Migration of tabs.persist_mode_on_change: False."""
|
||||||
autoconfig = config_tmpdir / 'autoconfig.yml'
|
autoconfig = config_tmpdir / 'autoconfig.yml'
|
||||||
autoconfig.write_text('global:\n tabs.persist_mode_on_change: False', encoding='utf-8')
|
autoconfig.write_text('global:\n tabs.persist_mode_on_change: False',
|
||||||
|
encoding='utf-8')
|
||||||
|
|
||||||
yaml.load()
|
yaml.load()
|
||||||
yaml._save()
|
yaml._save()
|
||||||
@ -184,7 +185,8 @@ class TestYaml:
|
|||||||
def test_merge_persist_true(self, monkeypatch, yaml, config_tmpdir):
|
def test_merge_persist_true(self, monkeypatch, yaml, config_tmpdir):
|
||||||
"""Migration of tabs.persist_mode_on_change: True."""
|
"""Migration of tabs.persist_mode_on_change: True."""
|
||||||
autoconfig = config_tmpdir / 'autoconfig.yml'
|
autoconfig = config_tmpdir / 'autoconfig.yml'
|
||||||
autoconfig.write_text('global:\n tabs.persist_mode_on_change: True', encoding='utf-8')
|
autoconfig.write_text('global:\n tabs.persist_mode_on_change: True',
|
||||||
|
encoding='utf-8')
|
||||||
|
|
||||||
yaml.load()
|
yaml.load()
|
||||||
yaml._save()
|
yaml._save()
|
||||||
|
Loading…
Reference in New Issue
Block a user