libnm-core/tests: refactor call to nm_simple_connection_new_from_dbus()
authorThomas Haller <thaller@redhat.com>
Wed, 23 Mar 2016 15:04:54 +0000 (16:04 +0100)
committerThomas Haller <thaller@redhat.com>
Sat, 26 Mar 2016 11:10:54 +0000 (12:10 +0100)
commitdf405942ded81e756a5ef9c75a0b118996b33bc5
tree2e000b806463621547acb202c795430425fb1da3
parent3d8776108c6cf2a2831d58e45e0f1b19a5e0634f
libnm-core/tests: refactor call to nm_simple_connection_new_from_dbus()

No actual change, let's just not directly call nm_simple_connection_new_from_dbus().
Instead, add a wrapper to define in once place the flags we use for loading the
connection.
libnm-core/tests/test-general.c