Fix clearcase diff tests.

Review Request #12603 — Created Sept. 14, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-3.x

Reviewers

The diff tests had an incorrect return type for the directory diffing
command invocations (returning a single bytestring rather than a list of
bytes as expected by split_lines=True. This happened to work correctly
because of the particular nature of the diff results, but wasn't
following the right code paths afterword. Fixing the return value
therefore required updating subsequent calls in the expect order.

Ran unit tests.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix clearcase diff tests.
The diff tests had an incorrect return type for the directory diffing command invocations (returning a single bytestring rather than a list of bytes as expected by `split_lines=True`. This happened to work correctly because of the particular nature of the diff results, but wasn't following the right code paths afterword. Fixing the return value therefore required updating subsequent calls in the expect order. Testing Done: Ran unit tests.
30dca064337ed85ca12e3091d83e797d247c8ce4 David Trowbridge
rbtools/clients/tests/test_clearcase.py
Loading...