~jamesodhunt/ubuntu/vivid/ubuntu-core-upgrader/add-more-tests

Viewing all changes in revision 15.

  • Committer: James Hunt
  • Date: 2015-03-03 16:42:09 UTC
  • Revision ID: james.hunt@ubuntu.com-20150303164209-ys3y5xixq3p3m2jc
* 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: