Tests: python: enum.auto() introduced in python 3.6
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 27 Mar 2023 19:37:24 +0000 (15:37 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 28 Mar 2023 18:58:04 +0000 (14:58 -0400)
commit544d8425fb15197a195ca16c2993e6a4026c0493
treec2398621214cf0d5e20f69b68b80ae64e503adbf
parent2d2198ca03187a1bc1795ddf235c56de8ddea4d1
Tests: python: enum.auto() introduced in python 3.6

Assign descriptive string values to the enumeration members instead of
using auto() and provide a repr() method that hides the value as
recommended upstream [1].

[1] https://docs.python.org/3.6/library/enum.html#omitting-values

Change-Id: I0bc8fcc19d68342ade1aeb587f07a9b483f81b3e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/lttngtest/lttng.py
tests/utils/lttngtest/lttngctl.py
This page took 0.025727 seconds and 4 git commands to generate.