tests: various refactoring in tools/test-networkmanager-service.py
- no more global variables, except those in the new variable "gl". - don't pass that bus instance around. Use the singleton gl.bus. - separate creation of ExportedObj from exporting on D-Bus. - use enum values loaded from NM via GObject introspection. - the visible change is that the generated D-Bus paths now start counting at one. That is also how NetworkManager behaves, and it looks nicer to have no zero ID for an object.
This commit is contained in: