autotests: Initialise P2PPeer objects with correct namespace

This commit is contained in:
Andrew Zaborowski 2021-06-04 03:50:49 +02:00 committed by Denis Kenzior
parent 617e99a423
commit c54ba7158c
1 changed files with 1 additions and 1 deletions

View File

@ -826,7 +826,7 @@ class P2PDevice(IWDDBusAbstract):
self._peer_dict = {}
for path, rssi in self._iface.GetPeers():
self._peer_dict[path] = old_dict[path] if path in old_dict else P2PPeer(path)
self._peer_dict[path] = old_dict[path] if path in old_dict else P2PPeer(path, namespace=self._namespace)
self._peer_dict[path].rssi = rssi
return self._peer_dict