Add a function for getting the value of a server capability.

Review Request #13568 — Created Feb. 21, 2024 and submitted

Information

RBTools
release-5.x

Reviewers

The capabilities returned by the server have traditionally been
booleans, but we're adding some more of other types (such as a list of
supported MIME types for review, and potentially some file size limits).
This change adds a new method to return the content of a capability
instead of just whether it's equal to True.

Used from another change.

Summary ID
Add a function for getting the value of a server capability.
The capabilities returned by the server have traditionally been booleans, but we're adding some more of other types (such as a list of supported MIME types for review, and potentially some file size limits). This change adds a new method to return the content of a capability instead of just whether it's equal to `True`. Testing Done: Used from another change.
6115491858ac7e112d5112f731bffe5552232137
Description From Last Updated

Can you add unit tests for the different cases? I want to flesh out RBTools tests where possible, and this …

chipx86chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. Show all issues

    Can you add unit tests for the different cases? I want to flesh out RBTools tests where possible, and this is an important one to not regress.

  3. 
      
david
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-5.x (aa1eede)
Loading...