2 * Copyright 2012 Red Hat Inc.
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published
6 * by the Free Software Foundation; either version 2.1 of the licence or (at
7 * your option) any later version.
9 * See the included COPYING file for more information.
12 const Mock = imports.gi.MockService;
13 const Secret = imports.gi.SecretUnstable;
14 const GLib = imports.gi.GLib;
16 const JsUnit = imports.jsUnit;
17 const assertNotEquals = JsUnit.assertNotEquals;
19 Mock.start("mock-service-normal.py");
21 var service = Secret.Service.get_sync(Secret.ServiceFlags.NONE, null);
22 var path = service.read_alias_dbus_path_sync("default", null);
24 /* Just running this without error is good enough for us to test the unstable gir */
25 assertNotEquals(path, null);