diff options
author | Edward Hervey <edward@centricular.com> | 2017-04-11 07:48:21 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-04-14 16:55:06 +0200 |
commit | 325c1b37ddf9ccac36b9b2907d3d0a0da650f933 (patch) | |
tree | 4e645dbc2e778b3cc4e47a4b2ec7dcf13773da3a | |
parent | 9d33d0ec9c7f4e3f8bac3ac3d23a20cb8731af61 (diff) |
baseclasses: Add method to set a specific list of scenarios
https://bugzilla.gnome.org/show_bug.cgi?id=781314
-rw-r--r-- | validate/launcher/baseclasses.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index 6ddf04e..f1db8c3 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -1819,6 +1819,13 @@ class GstValidateBaseTestManager(TestsManager): self._scenarios = list(set(self._scenarios)) + def set_scenarios(self, scenarios): + """ + Override the scenarios + """ + self._scenarios = [] + self.add_scenarios(scenarios) + def get_scenarios(self): return self._scenarios |