| 1 |
Forwarded: https://gitlab.com/dogtail/dogtail/-/merge_requests/55 |
| 2 |
|
| 3 |
--- |
| 4 |
tests/test_utils.py | 2 +- |
| 5 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 6 |
|
| 7 |
--- a/tests/test_utils.py |
| 8 |
+++ b/tests/test_utils.py |
| 9 |
@@ -28,7 +28,7 @@ class TestScreenshot(GtkDemoTest): |
| 10 |
expected_path = actual_path.replace(extension, "expected." + extension) |
| 11 |
|
| 12 |
import os |
| 13 |
- os.system("gnome-screenshot -f %s" % expected_path) |
| 14 |
+ os.system("import -window root %s" % expected_path) |
| 15 |
|
| 16 |
command = ["compare", "-metric", "MAE", |
| 17 |
actual_path, expected_path, "output"] |