mirror of
https://github.com/httpie/cli.git
synced 2025-08-14 13:39:18 +02:00
HTTPie v4
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
import argparse
|
||||
|
||||
import pytest
|
||||
from requests.exceptions import InvalidSchema
|
||||
from niquests.exceptions import InvalidSchema
|
||||
|
||||
import httpie.cli.argparser
|
||||
from httpie.cli import constants
|
||||
@ -134,6 +134,9 @@ class TestItemParsing:
|
||||
])
|
||||
assert len(items.files['file_field']) == 2
|
||||
|
||||
for md in items.multipart_data['file_field']:
|
||||
md[1].close()
|
||||
|
||||
def test_multiple_text_fields_with_same_field_name(self):
|
||||
items = RequestItems.from_args(
|
||||
request_item_args=[
|
||||
|
Reference in New Issue
Block a user