Merge lp:~shanepatrickfagan/ubuntu-sso-client/nm-state-bug-fix into lp:ubuntu-sso-client
Status: | Rejected |
---|---|
Rejected by: | dobey |
Proposed branch: | lp:~shanepatrickfagan/ubuntu-sso-client/nm-state-bug-fix |
Merge into: | lp:ubuntu-sso-client |
Diff against target: |
305 lines (+189/-17) (has conflicts) 2 files modified
ubuntu_sso/networkstate/linux.py (+43/-13) ubuntu_sso/networkstate/tests/test_linux.py (+146/-4) Text conflict in ubuntu_sso/networkstate/tests/test_linux.py |
To merge this branch: | bzr merge lp:~shanepatrickfagan/ubuntu-sso-client/nm-state-bug-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Disapprove | ||
Natalia Bidart (community) | Needs Fixing | ||
Review via email: mp+63136@code.launchpad.net |
Description of the change
Fixes the network manager states change in 11.10. I had to change stuff around to get it working and I dont know if I approached it entirely correctly but it is working on 11.10 and 11.04 for me. To test just do a sudo python setup.py and kill the cp and see if it connects correctly.
Unmerged revisions
- 722. By Shane Fagan
-
fixed nearly all of the tests and added methods for everything
- 721. By Shane Fagan
-
made the code a lot cleaner and did the suggestions that the guys said but still no tests. Will do them next
- 720. By Shane Fagan
-
fixed a small oversight
- 719. By Shane Fagan
-
took away that weird code I wrote
- 718. By Shane Fagan
-
shortened the long line since it would probably break pep8
- 717. By Shane Fagan
-
added some code for detecting the connection in 11.10, it works but needs testing on 11.04 or below. Its a few little changes but all are needed to work I think.
The code makes sense, though in order to get the Approve we need the following:
* unit tests for both branches of the newly added if STATE_UNKNOWN should be defined for both versions of the protocol
* self.NM_
* the protocol version number should not be a literal string but a constant