mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
uncover overriden test, remove needless method redefinition
This commit is contained in:
parent
b7345311d8
commit
2fdfd7fb25
@ -122,7 +122,7 @@ module Requests
|
||||
# TODO: find out how to check the filename given.
|
||||
end
|
||||
|
||||
define_method :"test_multipart_nested_filename_#{meth}" do
|
||||
define_method :"test_multipart_subnested_filename_#{meth}" do
|
||||
uri = build_uri("/#{meth}")
|
||||
response = HTTPX.send(meth, uri, form: { q: { image: File.new(fixture_file_path) } })
|
||||
verify_status(response, 200)
|
||||
|
@ -100,10 +100,6 @@ class WSCLient
|
||||
@io.write(data)
|
||||
end
|
||||
|
||||
def close
|
||||
@driver.close
|
||||
end
|
||||
|
||||
def finalize(_event)
|
||||
@closed = true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user