mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 07:48:30 +02:00
tools/test-service: mock o.fd.NM.Settings.Connection.Filename property
This commit is contained in:
parent
bd6fe17815
commit
f037aaeb90
1 changed files with 2 additions and 0 deletions
|
|
@ -1562,6 +1562,7 @@ class NetworkManager(ExportedObj):
|
|||
###############################################################################
|
||||
|
||||
PRP_CONNECTION_UNSAVED = 'Unsaved'
|
||||
PRP_CONNECTION_FILENAME = 'Filename'
|
||||
|
||||
class Connection(ExportedObj):
|
||||
def __init__(self, path_counter, con_hash, do_verify_strict=True):
|
||||
|
|
@ -1587,6 +1588,7 @@ class Connection(ExportedObj):
|
|||
|
||||
props = {
|
||||
PRP_CONNECTION_UNSAVED: False,
|
||||
PRP_CONNECTION_FILENAME: "/etc/NetworkManager/system-connections/" + self.get_id(),
|
||||
}
|
||||
|
||||
self.dbus_interface_add(IFACE_CONNECTION, props)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue