Call _init_config in test_fake_mac_auto_config
This commit is contained in:
parent
2a9441dfbf
commit
e84c1fa82f
@ -49,6 +49,7 @@ def test_fake_mac_auto_config(tmpdir, monkeypatch):
|
|||||||
monkeypatch.setattr(sys, 'platform', 'darwin')
|
monkeypatch.setattr(sys, 'platform', 'darwin')
|
||||||
monkeypatch.setenv('HOME', str(tmpdir))
|
monkeypatch.setenv('HOME', str(tmpdir))
|
||||||
expected = str(tmpdir) + '/.qutebrowser' # always with /
|
expected = str(tmpdir) + '/.qutebrowser' # always with /
|
||||||
|
standarddir._init_config(args=None)
|
||||||
assert standarddir.config(auto=True) == expected
|
assert standarddir.config(auto=True) == expected
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user