lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-add-more-tests

Created by James Hunt and last modified
Get this branch:
bzr branch lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-add-more-tests
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Related bugs

Related blueprints

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.

16. By James Hunt

* Merge with upstream.

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.

14. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.4

11. By Michael Vogt

fix config.machine_readable to be real json

10. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.2

9. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.1

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)
This branch contains Public information 
Everyone can see this information.

Subscribers