Test Series¶
Series are a collection of test runs.
-
class
pavilion.series.
TestSeries
(pav_cfg, tests, _id=None)¶ Bases:
object
Series are a collection of tests. Every time
-
LOGGER_FMT
= 'series({})'¶
-
classmethod
from_id
(pav_cfg, id_)¶ Load a series object from the given id, along with all of its associated tests.
-
id
¶ Return the series id as a string, with an ‘s’ in the front to differentiate it from test ids.
-
classmethod
load_user_series_id
(pav_cfg)¶ Load the last series id used by the current user.
-
timestamp
¶ Return the unix timestamp for this series, based on the last modified date for the test directory.
-
-
exception
pavilion.series.
TestSeriesError
¶ Bases:
RuntimeError
An error in managing a series of tests.
-
pavilion.series.
test_obj_from_id
(pav_cfg, test_ids)¶ Return the test object(s) associated with the id(s) provided.
Parameters: - pav_cfg (dict) – Base pavilion configuration.
- test_ids (Union(list,str)) – One or more test IDs.”
Return tuple(list(test_obj),list(failed_ids)): tuple containing a list of test objects and a list of test IDs for which no test could be found.