mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-06 02:58:55 +01:00
Merge branch 'bsd-gio-tool-fix' into 'main'
tests: Loosen string comparison assertion in gio-tool.py See merge request GNOME/glib!4693
This commit is contained in:
@@ -123,7 +123,7 @@ Exec = {python} -c 'print("%k")'
|
|||||||
def launchAndCheck(self, entry: Path, cwd: Path = None):
|
def launchAndCheck(self, entry: Path, cwd: Path = None):
|
||||||
result = self.runTestProgram(["launch", str(entry)], cwd=str(cwd))
|
result = self.runTestProgram(["launch", str(entry)], cwd=str(cwd))
|
||||||
|
|
||||||
self.assertEqual(result.out, str(self.entry))
|
self.assertIn(str(self.entry), result.out)
|
||||||
|
|
||||||
def test_absolute_from_folder(self):
|
def test_absolute_from_folder(self):
|
||||||
"""Test with absolute path, with changing working directory to folder."""
|
"""Test with absolute path, with changing working directory to folder."""
|
||||||
|
|||||||
Reference in New Issue
Block a user