flimflam-test: Refactor and clean flimflam.py

Fix a lot of spacing issues, and make some methods static so that pylint
is happy.  Change two instances where we accessed dbus exception name
strings directly to use getters.

TEST=Connected and disconnect from WiFi network via script.

Change-Id: I9d1698a187c3caa5dc9441cf3b9471a8a43f4086
Reviewed-on: https://gerrit.chromium.org/gerrit/41874
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
1 file changed