------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4998/
------------------------------------------------------------------------------

New ticket #4998 by marcel
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
RemovedInRBTools50Warning: A value of type %s was passed to 
HttpRequest.add_field. In RBTools 5.0, only values of bytes or str types will 
be accepted.
==============================================================================

# What version are you running?

4.0

# What steps will reproduce the problem?

Run tests using pytest.

# What is the expected output? What do you see instead?

All tests should pass without warnings, but these warnings appear:

rbtools/api/tests/test_http_request.py::HttpRequestTests::test_encode_multipart_formdata
  $(@D)/rbtools/api/tests/test_http_request.py:67: RemovedInRBTools50Warning: A 
value of type %s was passed to HttpRequest.add_field. In RBTools 5.0, only 
values of bytes or str types will be accepted.
    request.add_field('bar', 42)

rbtools/api/tests/test_resource.py::ItemResourceTests::test_update_with_extra_data
rbtools/api/tests/test_resource.py::ItemResourceTests::test_update_with_extra_data
  $(@D)/rbtools/api/resource.py:252: RemovedInRBTools50Warning: A value of type 
%s was passed to HttpRequest.add_field. In RBTools 5.0, only values of bytes or 
str types will be accepted.
    request.add_field(name, value)

rbtools/api/tests/test_resource.py::ListResourceTests::test_create_with_extra_data
rbtools/api/tests/test_resource.py::ListResourceTests::test_create_with_extra_data
  $(@D)/rbtools/api/resource.py:188: RemovedInRBTools50Warning: A value of type 
%s was passed to HttpRequest.add_field. In RBTools 5.0, only values of bytes or 
str types will be accepted.
    request.add_field(name, value)

# What operating system are you using?

NA

# Attach the debug out from the command.

NA

# Please provide any additional information below.

NA

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20230219223557.18132.66329%40ip-10-1-54-209.ec2.internal.

Reply via email to