lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-add-more-tests
- Get this branch:
- bzr branch lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-add-more-tests
Branch information
- Owner:
- James Hunt
- Status:
- Development
Recent revisions
- 17. By James Hunt
-
Fix-up changelog to reflect reality.
[ Michael Vogt ]
[ James Hunt ]
* ubuntucoreupgrader/tests/ test_upgrader. py:
- More tar_generator() tests.
- Added first Upgrader() object test.
* ubuntucoreupgrader/upgrader. py:
- parse_args():
- Moved from bin/ubuntu-core-upgrade to simplify testing.
- Now takes an args parameter.
- tar_generator():
- Simplified logic to determine if an unpack should occur.
- Fix to allow '--root-dir' to work again.
- Fix bug where path not set (only affecting tests).
- Upgrader:__init_ _():
- Assert root_dir option set.
- Moved some logic to prepare() and restart_associated_ services( ) to
simplify testing. - 15. By James Hunt
-
* bin/ubuntu-
core-upgrade:
- parse_args(): Return a dict for easier testing.
- Update for options dict.
* ubuntucoreupgrader/tests/ test_upgrader. py:
- More tar_generator() tests.
- Added first Upgrader() object test.
* ubuntucoreupgrader/upgrader. py:
- Comments.
- tar_generator():
- Fix to allow '--root-dir' to work again.
- Fix bug where path not set (only affecting tests).
- Updates for accessing self.options dict.
- Assert root_dir option set. - 8. By Michael Vogt
-
ensure we do never hit the pipe size limit (and hang forever) and add test for this
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)