python-sdbus / python-sdbus-networkmanager

python-sdbus binds for NetworkManager
GNU Lesser General Public License v2.1
28 stars 6 forks source link

Add get_settings_by_uuid() and delete_connection_by_uuid() #23

Closed bernhardkaindl closed 2 years ago

bernhardkaindl commented 2 years ago

Also adds a test verifying the function and checks the behavior of NetworkManager where the when a setting has the default value, it is not returned by get_settings()/get_settings_by_uuid()

@igo95862 This is a smaller commit and is only to demonstrate/verfiy that NetworkManager's get_settings() does not return default values.

I've pushed this as an initial commit for the test cases in PR #24. It's a small addition can be reviewed first (just in case)