diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-01-11 14:24:10 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-01-11 14:31:47 +0100 |
commit | ed146f4496ad6196ca22d541dd42a6853b701c20 (patch) | |
tree | c18f6f23f71f5d699161920620176a98a8ae2cce /tests/helpers/fixtures.py | |
parent | 98219b011f748d1fe291e164407c6d77b3be06ff (diff) | |
download | qutebrowser-ed146f4496ad6196ca22d541dd42a6853b701c20.tar.gz qutebrowser-ed146f4496ad6196ca22d541dd42a6853b701c20.zip |
tests: Use system-wide default font for config_stub
Fixes #5184 (finally!)
Diffstat (limited to 'tests/helpers/fixtures.py')
-rw-r--r-- | tests/helpers/fixtures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers/fixtures.py b/tests/helpers/fixtures.py index 1215868f7..765179be7 100644 --- a/tests/helpers/fixtures.py +++ b/tests/helpers/fixtures.py @@ -300,7 +300,7 @@ def yaml_config_stub(config_tmpdir): @pytest.fixture -def config_stub(stubs, monkeypatch, configdata_init, yaml_config_stub): +def config_stub(stubs, monkeypatch, configdata_init, yaml_config_stub, qapp): """Fixture which provides a fake config object.""" conf = config.Config(yaml_config=yaml_config_stub) monkeypatch.setattr(config, 'instance', conf) @@ -313,7 +313,7 @@ def config_stub(stubs, monkeypatch, configdata_init, yaml_config_stub): monkeypatch.setattr(config, 'cache', cache) try: - configtypes.Font.set_default_family(['monospace']) + configtypes.Font.set_default_family(None) except configexc.NoOptionError: # Completion tests patch configdata so fonts.default_family is # unavailable. |