pytest-subprocess 1.5.2__tar.gz → 1.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/HISTORY.rst +250 -219
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/LICENSE +22 -22
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/MANIFEST.in +10 -10
- {pytest_subprocess-1.5.2/pytest_subprocess.egg-info → pytest_subprocess-1.5.4}/PKG-INFO +804 -725
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/README.rst +487 -455
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/Makefile +20 -20
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/api.rst +22 -22
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/conf.py +78 -69
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/index.rst +48 -48
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/make.bat +35 -35
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/docs/usage.rst +3 -3
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest.ini +7 -5
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/__init__.py +8 -7
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/asyncio_subprocess.py +7 -7
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/exceptions.py +13 -13
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/fake_popen.py +454 -363
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/fake_process.py +162 -161
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/fixtures.py +15 -15
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/process_dispatcher.py +280 -239
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/process_recorder.py +63 -63
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/types.py +20 -20
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/utils.py +191 -169
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4/pytest_subprocess.egg-info}/PKG-INFO +804 -725
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess.egg-info/SOURCES.txt +1 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess.egg-info/requires.txt +0 -1
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/setup.cfg +18 -18
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/setup.py +82 -79
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/conftest.py +13 -13
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/example_script.py +19 -18
- pytest_subprocess-1.5.4/tests/imported_popen_fixture.py +6 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/test_asyncio.py +504 -375
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/test_examples.py +74 -61
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/test_subprocess.py +1403 -1234
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/test_typing.py +10 -9
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/test_utils.py +229 -182
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess/py.typed +0 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess.egg-info/dependency_links.txt +0 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess.egg-info/entry_points.txt +0 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/pytest_subprocess.egg-info/top_level.txt +0 -0
- {pytest_subprocess-1.5.2 → pytest_subprocess-1.5.4}/tests/__init__.py +0 -0
|
@@ -1,219 +1,250 @@
|
|
|
1
|
-
History
|
|
2
|
-
=======
|
|
3
|
-
|
|
4
|
-
1.5.
|
|
5
|
-
------------------
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* `#
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* `#
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Other changes
|
|
19
|
-
~~~~~~~~~~~~~
|
|
20
|
-
* `#
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* `#
|
|
34
|
-
|
|
35
|
-
1.
|
|
36
|
-
------------------
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* `#
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* `#
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* `#
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
* `#
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
------------------
|
|
159
|
-
|
|
160
|
-
Bug fixes
|
|
161
|
-
~~~~~~~~~
|
|
162
|
-
* `#
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
* `#
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
* `#
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
1
|
+
History
|
|
2
|
+
=======
|
|
3
|
+
|
|
4
|
+
1.5.4 (2026-03-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
Features
|
|
8
|
+
~~~~~~~~
|
|
9
|
+
* `#103 <https://github.com/aklajnert/pytest-subprocess/pull/103>`_: Improve matching commands that contain quoted arguments.
|
|
10
|
+
|
|
11
|
+
Bug fixes
|
|
12
|
+
~~~~~~~~~
|
|
13
|
+
* `#192 <https://github.com/aklajnert/pytest-subprocess/pull/192>`_: Fix ResourceWarning for unclosed file handles in test_universal_newlines and test_text by explicitly closing process.stdout after reading, preventing intermittent failures on Python 3.12+.
|
|
14
|
+
* `#196 <https://github.com/aklajnert/pytest-subprocess/pull/196>`_: Handle stderr=STDOUT when stdout is a file handle.
|
|
15
|
+
* `#194 <https://github.com/aklajnert/pytest-subprocess/pull/194>`_: Patch imported `subprocess.Popen` aliases.
|
|
16
|
+
* `#186 <https://github.com/aklajnert/pytest-subprocess/pull/186>`_: Support file handles in stdout and stderr.
|
|
17
|
+
|
|
18
|
+
Other changes
|
|
19
|
+
~~~~~~~~~~~~~
|
|
20
|
+
* `#197 <https://github.com/aklajnert/pytest-subprocess/pull/197>`_: Officially support Python 3.14 and 3.15.
|
|
21
|
+
|
|
22
|
+
1.5.3 (2025-01-04)
|
|
23
|
+
------------------
|
|
24
|
+
|
|
25
|
+
Features
|
|
26
|
+
~~~~~~~~
|
|
27
|
+
* `#171 <https://github.com/aklajnert/pytest-subprocess/pull/171>`_, `#178 <https://github.com/aklajnert/pytest-subprocess/pull/178>`_: Allow to access keyword arguments passed to Popen.
|
|
28
|
+
|
|
29
|
+
Bug fixes
|
|
30
|
+
~~~~~~~~~
|
|
31
|
+
* `#180 <https://github.com/aklajnert/pytest-subprocess/pull/180>`_: Fixed an incorrect wait timeout calculation.
|
|
32
|
+
* `#170 <https://github.com/aklajnert/pytest-subprocess/pull/170>`_: Wrapped ProcessDispatcher.dispatch into FakePopenWrapper as it was causing TypeError when Popen is used as a type.
|
|
33
|
+
* `#169 <https://github.com/aklajnert/pytest-subprocess/pull/169>`_: Get rid of using thread in AsyncFakePopen as it causes thread.join() to hang indefinitely.
|
|
34
|
+
|
|
35
|
+
1.5.2 (2024-07-24)
|
|
36
|
+
------------------
|
|
37
|
+
|
|
38
|
+
Bug fixes
|
|
39
|
+
~~~~~~~~~
|
|
40
|
+
* `#162 <https://github.com/aklajnert/pytest-subprocess/pull/162>`_: Include tests (and docs) and sdist correctly, and stop installing them to site-packages.
|
|
41
|
+
|
|
42
|
+
Other changes
|
|
43
|
+
~~~~~~~~~~~~~
|
|
44
|
+
* `#163 <https://github.com/aklajnert/pytest-subprocess/pull/163>`_: Add support for Python 3.12.
|
|
45
|
+
|
|
46
|
+
1.5.1 (2024-07-23)
|
|
47
|
+
------------------
|
|
48
|
+
|
|
49
|
+
Other changes
|
|
50
|
+
~~~~~~~~~~~~~
|
|
51
|
+
* `#160 <https://github.com/aklajnert/pytest-subprocess/pull/160>`_: Changed pytest entrypoint to avoid error while loading plugin with `-p` argument.
|
|
52
|
+
* `#128 <https://github.com/aklajnert/pytest-subprocess/pull/128>`_: Add `tests` directory to sdist.
|
|
53
|
+
|
|
54
|
+
1.5.0 (2023-01-28)
|
|
55
|
+
------------------
|
|
56
|
+
|
|
57
|
+
Features
|
|
58
|
+
~~~~~~~~
|
|
59
|
+
* `#109 <https://github.com/aklajnert/pytest-subprocess/pull/109>`_: Match also `os.PathLike`.
|
|
60
|
+
* `#105 <https://github.com/aklajnert/pytest-subprocess/pull/105>`_: Add program matcher.
|
|
61
|
+
|
|
62
|
+
Other changes
|
|
63
|
+
~~~~~~~~~~~~~
|
|
64
|
+
* `#110 <https://github.com/aklajnert/pytest-subprocess/pull/110>`_: Produce TypeError on Win Py<3.8 for Path args.
|
|
65
|
+
|
|
66
|
+
1.4.2 (2022-10-02)
|
|
67
|
+
------------------
|
|
68
|
+
|
|
69
|
+
Features
|
|
70
|
+
~~~~~~~~
|
|
71
|
+
* `#87 <https://github.com/aklajnert/pytest-subprocess/pull/87>`_: Add support for Python 3.11.
|
|
72
|
+
* `#80 <https://github.com/aklajnert/pytest-subprocess/pull/80>`_, `#86 <https://github.com/aklajnert/pytest-subprocess/pull/86>`_: The `register()` method returns an auxiliary object that will contain all matching `FakePopen` instances.
|
|
73
|
+
|
|
74
|
+
Bug fixes
|
|
75
|
+
~~~~~~~~~
|
|
76
|
+
* `#93 <https://github.com/aklajnert/pytest-subprocess/pull/93>`_: Raise callback exceptions on `communicate()` calls.
|
|
77
|
+
|
|
78
|
+
Other changes
|
|
79
|
+
~~~~~~~~~~~~~
|
|
80
|
+
* `#97 <https://github.com/aklajnert/pytest-subprocess/pull/97>`_: Fixed warnings in tests, treat warnings as errors.
|
|
81
|
+
* `#91 <https://github.com/aklajnert/pytest-subprocess/pull/91>`_: Use `sys.executable` instead just `"python"` in tests while invoking python subprocess.
|
|
82
|
+
* `#90 <https://github.com/aklajnert/pytest-subprocess/pull/90>`_: Fix documentation build, add CI check for it.
|
|
83
|
+
|
|
84
|
+
1.4.1 (2022-02-09)
|
|
85
|
+
------------------
|
|
86
|
+
|
|
87
|
+
Other changes
|
|
88
|
+
~~~~~~~~~~~~~
|
|
89
|
+
* `#74 <https://github.com/aklajnert/pytest-subprocess/pull/74>`_: Add ``fp`` alias for the fixture, and ``register`` for the ``regisiter_subprocess``.
|
|
90
|
+
|
|
91
|
+
1.4.0 (2022-01-23)
|
|
92
|
+
------------------
|
|
93
|
+
|
|
94
|
+
Features
|
|
95
|
+
~~~~~~~~
|
|
96
|
+
* `#71 <https://github.com/aklajnert/pytest-subprocess/pull/71>`_: Add support for stdin with asyncio.
|
|
97
|
+
|
|
98
|
+
Bug fixes
|
|
99
|
+
~~~~~~~~~
|
|
100
|
+
* `#68 <https://github.com/aklajnert/pytest-subprocess/pull/68>`_: Make `stdout` and `stderr` an `asyncio.StreamReader` instance when using asyncio functions.
|
|
101
|
+
* `#63 <https://github.com/aklajnert/pytest-subprocess/pull/63>`_, `#67 <https://github.com/aklajnert/pytest-subprocess/pull/67>`_: Add missing items to `asyncio.subprocess`.
|
|
102
|
+
|
|
103
|
+
Other changes
|
|
104
|
+
~~~~~~~~~~~~~
|
|
105
|
+
* `#69 <https://github.com/aklajnert/pytest-subprocess/pull/69>`_: Extracted code into separate files to improve navigation.
|
|
106
|
+
|
|
107
|
+
1.3.2 (2021-11-07)
|
|
108
|
+
------------------
|
|
109
|
+
|
|
110
|
+
Bug fixes
|
|
111
|
+
~~~~~~~~~
|
|
112
|
+
* `#61 <https://github.com/aklajnert/pytest-subprocess/pull/61>`_: Fixed behavior of ``asyncio.create_subproess_exec()``.
|
|
113
|
+
|
|
114
|
+
1.3.1 (2021-11-01)
|
|
115
|
+
------------------
|
|
116
|
+
|
|
117
|
+
Bug fixes
|
|
118
|
+
~~~~~~~~~
|
|
119
|
+
* `#58 <https://github.com/aklajnert/pytest-subprocess/pull/58>`_: Correctly handle file stream output.
|
|
120
|
+
|
|
121
|
+
1.3.0 (2021-10-24)
|
|
122
|
+
------------------
|
|
123
|
+
|
|
124
|
+
Features
|
|
125
|
+
~~~~~~~~
|
|
126
|
+
* `#55 <https://github.com/aklajnert/pytest-subprocess/pull/55>`_: Add support for ``terminate()``, ``kill()``, ``send_signal()``.
|
|
127
|
+
|
|
128
|
+
1.2.0 (2021-10-09)
|
|
129
|
+
------------------
|
|
130
|
+
|
|
131
|
+
Features
|
|
132
|
+
~~~~~~~~
|
|
133
|
+
* `#49 <https://github.com/aklajnert/pytest-subprocess/pull/49>`_, `#52 <https://github.com/aklajnert/pytest-subprocess/pull/52>`_: Add support for ``asyncio``.
|
|
134
|
+
|
|
135
|
+
Other changes
|
|
136
|
+
~~~~~~~~~~~~~
|
|
137
|
+
* `#50 <https://github.com/aklajnert/pytest-subprocess/pull/50>`_: Change docs theme.
|
|
138
|
+
|
|
139
|
+
1.1.2 (2021-07-17)
|
|
140
|
+
------------------
|
|
141
|
+
|
|
142
|
+
Bug fixes
|
|
143
|
+
~~~~~~~~~
|
|
144
|
+
* `#47 <https://github.com/aklajnert/pytest-subprocess/pull/47>`_: Prevent `allow_unregistered()` and `keep_last_process()` from affecting other tests.
|
|
145
|
+
|
|
146
|
+
1.1.1 (2021-06-18)
|
|
147
|
+
------------------
|
|
148
|
+
|
|
149
|
+
Bug fixes
|
|
150
|
+
~~~~~~~~~
|
|
151
|
+
* `#43 <https://github.com/aklajnert/pytest-subprocess/pull/43>`_: Wait for callback thread to finish when calling ``communicate()``.
|
|
152
|
+
|
|
153
|
+
Other changes
|
|
154
|
+
~~~~~~~~~~~~~
|
|
155
|
+
* `#42 <https://github.com/aklajnert/pytest-subprocess/pull/42>`_: Fix type annotations for `register_subprocess()`.
|
|
156
|
+
|
|
157
|
+
1.1.0 (2021-04-18)
|
|
158
|
+
------------------
|
|
159
|
+
|
|
160
|
+
Bug fixes
|
|
161
|
+
~~~~~~~~~
|
|
162
|
+
* `#37 <https://github.com/aklajnert/pytest-subprocess/pull/37>`_: Preserve original command in `proc.args` to prevent leaking the internal `Command` type.
|
|
163
|
+
|
|
164
|
+
Other changes
|
|
165
|
+
~~~~~~~~~~~~~
|
|
166
|
+
* `#38 <https://github.com/aklajnert/pytest-subprocess/pull/38>`_: Switched CI from Azure Pipelines to GitHub Actions.
|
|
167
|
+
* `#35 <https://github.com/aklajnert/pytest-subprocess/pull/35>`_: Drop support for python 3.4 and 3.5. Move type annotations from `.pyi` files into sources.
|
|
168
|
+
|
|
169
|
+
1.0.1 (2021-03-20)
|
|
170
|
+
------------------
|
|
171
|
+
|
|
172
|
+
Bug fixes
|
|
173
|
+
~~~~~~~~~
|
|
174
|
+
* `#34 <https://github.com/aklajnert/pytest-subprocess/pull/34>`_: Prevent appending newlines to outputs unless defined as list/tuple.
|
|
175
|
+
|
|
176
|
+
Other changes
|
|
177
|
+
~~~~~~~~~~~~~
|
|
178
|
+
* `#32 <https://github.com/aklajnert/pytest-subprocess/pull/32>`_: Make the ``Command`` class iterable.
|
|
179
|
+
|
|
180
|
+
1.0.0 (2020-08-22)
|
|
181
|
+
------------------
|
|
182
|
+
|
|
183
|
+
Features
|
|
184
|
+
~~~~~~~~
|
|
185
|
+
* `#29 <https://github.com/aklajnert/pytest-subprocess/pull/29>`_: Remember subprocess calls to check if expected commands were executed.
|
|
186
|
+
* `#28 <https://github.com/aklajnert/pytest-subprocess/pull/28>`_: Allow to match a command with variable arguments (non-exact matching).
|
|
187
|
+
|
|
188
|
+
0.1.5 (2020-06-19)
|
|
189
|
+
------------------
|
|
190
|
+
|
|
191
|
+
Bug fixes
|
|
192
|
+
~~~~~~~~~
|
|
193
|
+
* `#26 <https://github.com/aklajnert/pytest-subprocess/pull/26>`_: `encoding` and `errors` arguments will properly trigger `text` mode.
|
|
194
|
+
|
|
195
|
+
0.1.4 (2020-04-28)
|
|
196
|
+
------------------
|
|
197
|
+
|
|
198
|
+
Bug fixes
|
|
199
|
+
~~~~~~~~~
|
|
200
|
+
* `#22 <https://github.com/aklajnert/pytest-subprocess/pull/22>`_: The `returncode` will not be ignored when `callback` is used.
|
|
201
|
+
* `#21 <https://github.com/aklajnert/pytest-subprocess/pull/21>`_: The exception raised from callback will take precedence over those from subprocess.
|
|
202
|
+
* `#20 <https://github.com/aklajnert/pytest-subprocess/pull/20>`_: Registering process will be now consistent regardless of the command type.
|
|
203
|
+
* `#19 <https://github.com/aklajnert/pytest-subprocess/pull/19>`_: Fixed crash for stderr redirect with an empty stream definition.
|
|
204
|
+
|
|
205
|
+
0.1.3 (2020-03-04)
|
|
206
|
+
------------------
|
|
207
|
+
|
|
208
|
+
Features
|
|
209
|
+
~~~~~~~~
|
|
210
|
+
* `#13 <https://github.com/aklajnert/pytest-subprocess/pull/13>`_: Allow passing keyword arguments into callbacks.
|
|
211
|
+
|
|
212
|
+
Bug fixes
|
|
213
|
+
~~~~~~~~~
|
|
214
|
+
* `#12 <https://github.com/aklajnert/pytest-subprocess/pull/12>`_: Properly raise exceptions from callback functions.
|
|
215
|
+
|
|
216
|
+
Documentation changes
|
|
217
|
+
~~~~~~~~~~~~~~~~~~~~~
|
|
218
|
+
* `#15 <https://github.com/aklajnert/pytest-subprocess/pull/15>`_: Add documentation chapter about the callback functions.
|
|
219
|
+
|
|
220
|
+
0.1.2 (2020-01-17)
|
|
221
|
+
------------------
|
|
222
|
+
|
|
223
|
+
Features
|
|
224
|
+
~~~~~~~~
|
|
225
|
+
* `#3 <https://github.com/aklajnert/pytest-subprocess/pull/3>`_: Add basic support for process input.
|
|
226
|
+
|
|
227
|
+
Bug fixes
|
|
228
|
+
~~~~~~~~~
|
|
229
|
+
* `#5 <https://github.com/aklajnert/pytest-subprocess/pull/5>`_: Make ``wait()`` method to raise ``TimeoutError`` after the desired time will elapse.
|
|
230
|
+
|
|
231
|
+
Documentation changes
|
|
232
|
+
~~~~~~~~~~~~~~~~~~~~~
|
|
233
|
+
* `#7 <https://github.com/aklajnert/pytest-subprocess/pull/7>`_, `#8 <https://github.com/aklajnert/pytest-subprocess/pull/8>`_, `#9 <https://github.com/aklajnert/pytest-subprocess/pull/9>`_: Create Sphinx documentation.
|
|
234
|
+
|
|
235
|
+
Other changes
|
|
236
|
+
~~~~~~~~~~~~~
|
|
237
|
+
* `#10 <https://github.com/aklajnert/pytest-subprocess/pull/10>`_: Switch from ``tox`` to ``nox`` for running tests and tasks.
|
|
238
|
+
* `#4 <https://github.com/aklajnert/pytest-subprocess/pull/4>`_: Add classifier for Python 3.9. Update CI config to test also on that interpreter version.
|
|
239
|
+
|
|
240
|
+
0.1.1 (2019-11-24)
|
|
241
|
+
------------------
|
|
242
|
+
|
|
243
|
+
Other changes
|
|
244
|
+
~~~~~~~~~~~~~
|
|
245
|
+
* `#1 <https://github.com/aklajnert/pytest-subprocess/pull/1>`_, `#2 <https://github.com/aklajnert/pytest-subprocess/pull/2>`_: Enable support for Python 3.4, add CI tests for that version.
|
|
246
|
+
|
|
247
|
+
0.1.0 (2019-11-23)
|
|
248
|
+
------------------
|
|
249
|
+
|
|
250
|
+
Initial release
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
The MIT License (MIT)
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2019 Andrzej Klajnert
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
|
14
|
-
all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
-
THE SOFTWARE.
|
|
1
|
+
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2019 Andrzej Klajnert
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
include LICENSE
|
|
2
|
-
include README.rst
|
|
3
|
-
include HISTORY.rst
|
|
4
|
-
include pytest.ini
|
|
5
|
-
|
|
6
|
-
recursive-include docs *
|
|
7
|
-
recursive-include tests *.py
|
|
8
|
-
|
|
9
|
-
recursive-exclude * __pycache__
|
|
10
|
-
recursive-exclude * *.py[co]
|
|
1
|
+
include LICENSE
|
|
2
|
+
include README.rst
|
|
3
|
+
include HISTORY.rst
|
|
4
|
+
include pytest.ini
|
|
5
|
+
|
|
6
|
+
recursive-include docs *
|
|
7
|
+
recursive-include tests *.py
|
|
8
|
+
|
|
9
|
+
recursive-exclude * __pycache__
|
|
10
|
+
recursive-exclude * *.py[co]
|