@@ -104,64 +104,7 @@ You can ask for available builtin or project-custom
104
104
Add extra xml properties to the tag for the calling test.
105
105
The fixture is callable with ``(name, value)``, with value being automatically
106
106
xml-encoded.
107
- monkeypatch:class
108
- The returned ``monkeypatch`` fixture provides these
109
- helper methods to modify objects, dictionaries or os.environ::
110
-
111
- monkeypatch.setattr(obj, name, value, raising=True)
112
- monkeypatch.delattr(obj, name, raising=True)
113
- monkeypatch.setitem(mapping, name, value)
114
- monkeypatch.delitem(obj, name, raising=True)
115
- monkeypatch.setenv(name, value, prepend=False)
116
- monkeypatch.delenv(name, value, raising=True)
117
- monkeypatch.syspath_prepend(path)
118
- monkeypatch.chdir(path)
119
-
120
- All modifications will be undone after the requesting
121
- test function or fixture has finished. The ``raising``
122
- parameter determines if a KeyError or AttributeError
123
- will be raised if the set/deletion operation has no target.
124
-
125
- This fixture is ``invocation``-scoped.
126
- monkeypatch:function
127
- The returned ``monkeypatch`` fixture provides these
128
- helper methods to modify objects, dictionaries or os.environ::
129
-
130
- monkeypatch.setattr(obj, name, value, raising=True)
131
- monkeypatch.delattr(obj, name, raising=True)
132
- monkeypatch.setitem(mapping, name, value)
133
- monkeypatch.delitem(obj, name, raising=True)
134
- monkeypatch.setenv(name, value, prepend=False)
135
- monkeypatch.delenv(name, value, raising=True)
136
- monkeypatch.syspath_prepend(path)
137
- monkeypatch.chdir(path)
138
-
139
- All modifications will be undone after the requesting
140
- test function or fixture has finished. The ``raising``
141
- parameter determines if a KeyError or AttributeError
142
- will be raised if the set/deletion operation has no target.
143
-
144
- This fixture is ``invocation``-scoped.
145
- monkeypatch:module
146
- The returned ``monkeypatch`` fixture provides these
147
- helper methods to modify objects, dictionaries or os.environ::
148
-
149
- monkeypatch.setattr(obj, name, value, raising=True)
150
- monkeypatch.delattr(obj, name, raising=True)
151
- monkeypatch.setitem(mapping, name, value)
152
- monkeypatch.delitem(obj, name, raising=True)
153
- monkeypatch.setenv(name, value, prepend=False)
154
- monkeypatch.delenv(name, value, raising=True)
155
- monkeypatch.syspath_prepend(path)
156
- monkeypatch.chdir(path)
157
-
158
- All modifications will be undone after the requesting
159
- test function or fixture has finished. The ``raising``
160
- parameter determines if a KeyError or AttributeError
161
- will be raised if the set/deletion operation has no target.
162
-
163
- This fixture is ``invocation``-scoped.
164
- monkeypatch:session
107
+ monkeypatch
165
108
The returned ``monkeypatch`` fixture provides these
166
109
helper methods to modify objects, dictionaries or os.environ::
167
110
0 commit comments