We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4719971 commit 4d4e87fCopy full SHA for 4d4e87f
cssutils/tests/test_cssutils.py
@@ -70,7 +70,7 @@ def test_parseString(self):
70
}
71
self.do_equal_p(tests)
72
73
- def test_parseFile(self):
+ def test_parseFile(self, monkeypatch):
74
"cssutils.parseFile()"
75
# name if used with open, href used for @import resolving
76
name = basetest.get_sheet_filename('import.css')
@@ -111,7 +111,7 @@ def test_parseFile(self):
111
112
# name is used for open and setting of href automatically
113
# test needs to be relative to this test file!
114
- os.chdir(os.path.dirname(__file__))
+ monkeypatch.chdir(os.path.dirname(__file__))
115
116
117
s = cssutils.parseFile(name, media='screen', title='from file')
0 commit comments