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:
Ryan Roden-Corrent 2016-07-18 21:49:37 -04:00
parent 7b3406a3e4
commit 48dbf505ce

View File

@ -33,8 +33,6 @@ from PyQt5.QtNetwork import QNetworkProxy
from qutebrowser.config import configtypes, configexc
from qutebrowser.utils import debug, utils
pytestmark = pytest.mark.usefixtures('config_tmpdir')
class Font(QFont):
@ -1284,6 +1282,7 @@ def unrequired_class(**kwargs):
@pytest.mark.usefixtures('qapp')
@pytest.mark.usefixtures('config_tmpdir')
class TestFileAndUserStyleSheet:
"""Test File/UserStyleSheet."""