~ubuntu-branches/ubuntu/oneiric/landscape-client/oneiric-proposed

« back to all changes in this revision

Viewing changes to landscape/package/tests/test_releaseupgrader.py

  • Committer: Package Import Robot
  • Author(s): Andreas Hasenack
  • Date: 2012-06-19 14:55:03 UTC
  • mfrom: (1.2.11)
  • Revision ID: package-import@ubuntu.com-20120619145503-nw5y5w4sthf6rnus
Tags: 12.05-0ubuntu0.11.10
* New upstream release 12.05 (r561 in trunk) (LP: #1004678).
* Make all subpackages that depend on each other require the exact same
  version, instead of >= $version.
* Added python-gi to client depends starting natty.
* Make change-packages also handle package holds (LP: #972489).
* Fix typo in glade file (LP: #983096).
* Tidy up apt facade (LP: #985493).
* Remove SmartFacade and its tests, no longer used (LP: #996269).
* Remove check for apt version, since we won't release this for
  Hardy where that check matters (LP: #996837).
* Remove methods that were smart specific. We no longer use smart
  (LP: #996841).
* Remove smart-update helper binary. We no longer use smart
  (LP: #997408).
* Remove test-mixins that were useful only during the apt-to-smart
  code migration. Now with smart gone, they are no longer necessary
  (LP: #997760).
* Build the packages from precise onward, not just precise.
* Assorted packaging fixes:
  - Switched to format 3.0 (quilt).
  - Added source lintian overrides, with comments.
  - Updated debian/rules:
    - Added build-arch and build-indep dummy target.
    - Build the GUI packages from precise onwards, and not just on precise.
    - Re-enable dh_lintian.
    - Strip the binaries (dh_strip), and also call dh_shlibdeps for the
      automatic shlibs dependency.
    - Added python-gi from natty onwards.
  - Used __Choices instead of _Choices in landscape-common.templates, it's
    better for translators.
  - Updated standard version to 3.8.2, the version from Lucid (oldest one
    we support)
  - Added shlibs depends.
  - Dropped deprecated ${Source-Version} and replaced it with
    ${binary:Version}
  - Require exact version of the sibling package instead of >=.

Show diffs side-by-side

added added

removed removed

Lines of Context:
655
655
 
656
656
            def check_result((out, err, code)):
657
657
                self.assertFalse(os.path.exists(upgrade_tool_directory))
658
 
                self.assertEqual(out, "--force-smart-update\n%s\n"
 
658
                self.assertEqual(out, "--force-apt-update\n%s\n"
659
659
                                  % os.getcwd())
660
660
                self.assertEqual(err, "")
661
661
                self.assertEqual(code, 0)
738
738
            result = self.upgrader.finish()
739
739
 
740
740
            def check_result((out, err, code)):
741
 
                self.assertEqual(out, "--force-smart-update "
 
741
                self.assertEqual(out, "--force-apt-update "
742
742
                                       "--config=/some/config\n")
743
743
                self.assertEqual(err, "")
744
744
                self.assertEqual(code, 0)