baseclasses: Add method to set a specific list of scenarios

https://bugzilla.gnome.org/show_bug.cgi?id=781314
This commit is contained in:
Edward Hervey 2017-04-11 07:48:21 +02:00 committed by Edward Hervey
parent 9d33d0ec9c
commit 325c1b37dd

View file

@ -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