[file-roller/wip/jtojnar/dogtail-tests] fixup! Add basic integration test
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/dogtail-tests] fixup! Add basic integration test
- Date: Thu, 21 Apr 2022 14:38:07 +0000 (UTC)
commit 9f9e8a4fb696456c830504f3b13c94090fd49713
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Apr 21 16:37:14 2022 +0200
fixup! Add basic integration test
tests/testutil.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tests/testutil.py b/tests/testutil.py
index 55010e7b..9f1013ac 100644
--- a/tests/testutil.py
+++ b/tests/testutil.py
@@ -176,14 +176,14 @@ def mocked_portal_open_uri_2(bus: Gio.DBusConnection) -> AbstractContextManager[
# TODO: This does not seem to do anything
+ owner_id = Gio.bus_own_name_on_connection(
+ connection=bus,
+ name="org.freedesktop.portal.Desktop",
+ flags=Gio.BusNameOwnerFlags.REPLACE | Gio.BusNameOwnerFlags.DO_NOT_QUEUE,
+ name_acquired_closure=on_bus_acquired,
+ name_lost_closure=on_bus_lost,
+ )
try:
- owner_id = Gio.bus_own_name_on_connection(
- connection=bus,
- name="org.freedesktop.portal.Desktop",
- flags=Gio.BusNameOwnerFlags.REPLACE | Gio.BusNameOwnerFlags.DO_NOT_QUEUE,
- name_acquired_closure=on_bus_acquired,
- name_lost_closure=on_bus_lost,
- )
print(2)
print(3)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]