mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
validate:launcher: Fix mixup in media_check tests expected file path
This commit is contained in:
parent
78f91ae8da
commit
86df60e16f
1 changed files with 4 additions and 2 deletions
|
@ -175,13 +175,14 @@ class GstValidateLaunchTest(GstValidateTest):
|
|||
|
||||
|
||||
class GstValidateMediaCheckTest(Test):
|
||||
def __init__(self, classname, options, reporter, file_infos, uri, timeout=DEFAULT_TIMEOUT):
|
||||
def __init__(self, classname, options, reporter, file_infos, uri, minfo_path,
|
||||
timeout=DEFAULT_TIMEOUT):
|
||||
super(GstValidateMediaCheckTest, self).__init__(G_V_DISCOVERER_COMMAND, classname,
|
||||
options, reporter,
|
||||
timeout=timeout)
|
||||
self._uri = uri
|
||||
self.file_infos = file_infos
|
||||
self._media_info_path = urlparse.urlparse(file_infos.get("file-info", "uri")).path
|
||||
self._media_info_path = minfo_path
|
||||
|
||||
def build_arguments(self):
|
||||
self.add_arguments(self._uri, "--expected-results",
|
||||
|
@ -306,6 +307,7 @@ class GstValidateManager(TestsManager, Loggable):
|
|||
self.reporter,
|
||||
mediainfo.config,
|
||||
uri,
|
||||
mediainfo.path,
|
||||
timeout=timeout))
|
||||
|
||||
for uri, mediainfo in self._list_uris():
|
||||
|
|
Loading…
Reference in a new issue