libnm/tests: notify of changing active-connections in manager mock

This commit is contained in:
Lubomir Rintel 2016-09-20 14:26:47 +02:00
parent f234279c94
commit 402ba09269

View file

@ -741,6 +741,7 @@ class NetworkManager(ExportedObj):
if s_con['id'] == 'object-creation-failed-test':
self.active_connections.remove(ac)
self.__notify(PM_ACTIVE_CONNECTIONS)
ac.remove_from_connection()
else:
GLib.timeout_add(50, set_device_ac_cb, device, ac)