Update tests/test_rest.py

Merged s49715 requested to merge s49715-main-patch-39846 into main

Merge request reports