Limit config_tmpdir use in test_configtypes.
Only use the fixture in the test class that tries to access the config dir (TestFileAndUserStyleSheet) rather than the whole test.
This commit is contained in:
parent
7b3406a3e4
commit
48dbf505ce
@ -33,8 +33,6 @@ from PyQt5.QtNetwork import QNetworkProxy
|
|||||||
from qutebrowser.config import configtypes, configexc
|
from qutebrowser.config import configtypes, configexc
|
||||||
from qutebrowser.utils import debug, utils
|
from qutebrowser.utils import debug, utils
|
||||||
|
|
||||||
pytestmark = pytest.mark.usefixtures('config_tmpdir')
|
|
||||||
|
|
||||||
|
|
||||||
class Font(QFont):
|
class Font(QFont):
|
||||||
|
|
||||||
@ -1284,6 +1282,7 @@ def unrequired_class(**kwargs):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures('qapp')
|
@pytest.mark.usefixtures('qapp')
|
||||||
|
@pytest.mark.usefixtures('config_tmpdir')
|
||||||
class TestFileAndUserStyleSheet:
|
class TestFileAndUserStyleSheet:
|
||||||
|
|
||||||
"""Test File/UserStyleSheet."""
|
"""Test File/UserStyleSheet."""
|
||||||
|
Loading…
Reference in New Issue
Block a user