File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,14 @@ def test_post_files_text(sock, requests):
71
71
mock .call (b"\r \n " ),
72
72
]
73
73
)
74
+ sock .send .assert_has_calls (
75
+ [
76
+ mock .call (b"Content-Length" ),
77
+ mock .call (b": " ),
78
+ mock .call (b"131" ),
79
+ mock .call (b"\r \n " ),
80
+ ]
81
+ )
74
82
sock .send .assert_has_calls (
75
83
[
76
84
mock .call (
@@ -113,6 +121,14 @@ def test_post_files_file(sock, requests):
113
121
mock .call (b"\r \n " ),
114
122
]
115
123
)
124
+ sock .send .assert_has_calls (
125
+ [
126
+ mock .call (b"Content-Length" ),
127
+ mock .call (b": " ),
128
+ mock .call (b"347" ),
129
+ mock .call (b"\r \n " ),
130
+ ]
131
+ )
116
132
sock .send .assert_has_calls (
117
133
[
118
134
mock .call (
@@ -176,6 +192,14 @@ def test_post_files_complex(sock, requests):
176
192
mock .call (b"\r \n " ),
177
193
]
178
194
)
195
+ sock .send .assert_has_calls (
196
+ [
197
+ mock .call (b"Content-Length" ),
198
+ mock .call (b": " ),
199
+ mock .call (b"796" ),
200
+ mock .call (b"\r \n " ),
201
+ ]
202
+ )
179
203
sock .send .assert_has_calls (
180
204
[
181
205
mock .call (
You can’t perform that action at this time.
0 commit comments