Preserve the items order when calling ddt.data()
Several calls to ddt.data() change the lists of items into a set
to de-duplicate them. This happens, for example, when the list
constains microversions which may come from some variable.
In order to generate a consistent and predictable list of tests,
which can be compared over time (as ddt adds the index of the
test to the test name), replace the usage of set with
a new function which removes the duplicates but keeps the order.
Change-Id: I9cbd26016238c25487ac8104c1188cd2cf4f467e
10 files changed