Merge lp:~canonical-platform-qa/ubuntu-ui-toolkit/systemd into lp:ubuntu-ui-toolkit/staging
Proposed by
Leo Arias
Status: | Work in progress |
---|---|
Proposed branch: | lp:~canonical-platform-qa/ubuntu-ui-toolkit/systemd |
Merge into: | lp:ubuntu-ui-toolkit/staging |
Diff against target: |
375 lines (+219/-43) 6 files modified
tests/autopilot/ubuntuuitoolkit/environment.py (+15/-34) tests/autopilot/ubuntuuitoolkit/init_system/__init__.py (+42/-0) tests/autopilot/ubuntuuitoolkit/init_system/systemd.py (+76/-0) tests/autopilot/ubuntuuitoolkit/init_system/upstart.py (+68/-0) tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+1/-1) tests/autopilot/ubuntuuitoolkit/tests/test_environment.py (+17/-8) |
To merge this branch: | bzr merge lp:~canonical-platform-qa/ubuntu-ui-toolkit/systemd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil (community) | Needs Information | ||
Ubuntu SDK team | Pending | ||
Review via email: mp+259210@code.launchpad.net |
This proposal supersedes a proposal from 2015-05-15.
To post a comment you must log in.
Wow, the duplication between upstart.py and systemd.py is worrying, can't you factor more ?
Using classes may help to at least define only the diverging methods in the daughter classes (you're more or less using modules as classes here with 'init = init_system. get_init_ system_ module( )' so the transition shouldn't be too hard) ?