Fix patch tests to not use deprecated names.

Review Request #14578 — Created Aug. 28, 2025 and updated

Information

RBTools
master

Reviewers

This fixes up the patch tests to use full_name instead of the
deprecated fullname attribute for authors. This also updates one test
that passes in an invalid value for prefix_level to properly suppress
the expected deprecation warning.

Ran unit tests.

Summary ID
Fix patch tests to not use deprecated names.
This fixes up the patch tests to use `full_name` instead of the deprecated `fullname` attribute for authors. This also updates one test that passes in an invalid value for `prefix_level` to properly suppress the expected deprecation warning. Testing Done: Ran unit tests.
lnqmvpxtzlpnvvrlqtqspnpwvtvozypo
Description From Last Updated

Parens here requires Python 3.10+. If we're still supporting 3.9, we'll need to use \ or nest.

chipx86chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. rbtools/diffs/tests/test_patch.py (Diff revision 1)
     
     
     
     
    Show all issues

    Parens here requires Python 3.10+. If we're still supporting 3.9, we'll need to use \ or nest.

  3. 
      
david
Review request changed
Commits:
Summary ID
Fix patch tests to not use deprecated names.
This fixes up the patch tests to use `full_name` instead of the deprecated `fullname` attribute for authors. This also updates one test that passes in an invalid value for `prefix_level` to properly suppress the expected deprecation warning. Testing Done: Ran unit tests.
lnqmvpxtzlpnvvrlqtqspnpwvtvozypo
Fix patch tests to not use deprecated names.
This fixes up the patch tests to use `full_name` instead of the deprecated `fullname` attribute for authors. This also updates one test that passes in an invalid value for `prefix_level` to properly suppress the expected deprecation warning. Testing Done: Ran unit tests.
lnqmvpxtzlpnvvrlqtqspnpwvtvozypo

Checks run (2 succeeded)

flake8 passed.
JSHint passed.