HomeClusterLabs Projects

Refactor: cts: Be more explicit about converting ExitStatus.

Description

Refactor: cts: Be more explicit about converting ExitStatus.

There are platform-specific quirks to this code. Different versions of
python handle converting enums to ints and strings differently when
f-strings are involved. I unfortunately haven't been keeping track of
what happens where to write better comments.

So instead, just explicitly do all the conversions in _log_end_test
instead of hoping the implicit conversions will do the right thing.

Details

Provenance
clumensAuthored on Thu, Apr 3, 4:37 PM
Parents
rPcb74e84191b3: Refactor: cts: Use f-strings throughout cts-cli.in.
Branches
Unknown
Tags
Unknown