← Back to team overview

desktop-packages team mailing list archive

[Bug 918746] Re: QA Tool: Add an env switch to disable certificates validation for use in testing

 

This bug was fixed in the package software-center - 5.1.7

---------------
software-center (5.1.7) precise; urgency=low

  [ Anthony Lenton ]
  * lp:~elachuni/software-center/any-language:
    - add support to display reviews in any language
  * lp:~elachuni/software-center/reset-review-page:
    - Small bugfix to ensure that switching language or
      reviews sort method resets the reviews page, and
      added tests.
  * lp:~elachuni/software-center/relax-origin-distroseries:
    - provide "relaxed" mode for fetching reviews if the exact
      review matcher does not find anything (LP: #766951)
  * lp:~elachuni/software-center/disable-new-review:
    - This branch disables the "Submit a new review" button when
      you click it, and reenables it when the submit review dialog
      closes
  * lp:~elachuni/software-center/reviews-tests:
    - add several new tests for code in the review_gui_helper module

  [ Michael Vogt ]
  * lp:~mvo/software-center/improve-debug-in-piston-generic-helper:
    - improve debug output of piston-generic-helper and a README
      with examples how it can be used to debug server side issues
  * lp:~mvo/software-center/review-language-i18n:
    - make the language selection combo in the reviews widget
      nicer by adding a proper i18n name to it
  * lp:~mvo/software-center/trivial-move-gui-helpers:
    - move rnr_helpers.py to softwarecenter/ui/gtk3/review_gui_helper.py
      as it belongs there and add to POTFILE.in

  [ Michael Nelson ]
  * lp:~michael.nelson/software-center/833982-purchased-app-not-available,
    lp:~michael.nelson/software-center/917137-previous-purchases-empty-precise-2:
    - refactor/cleanup parser code and update for API 2.0 (LP: #917137)
  * lp:~michael.nelson/software-center/every-comm-app-already-purchased:
    - non-purchased apps should not have '(already purchased)'
      appended to name.
  * lp:~michael.nelson/software-center/833982-previous-purchase-no-feedback-really-this-time:
    - Implements the backend for bug 833982 so that a purchased application
      that is unsupported on the current system will be detected
  * lp:~michael.nelson/software-center/833982-previous-purchase-no-feedback-2:
    - ensure that the deb_line for the app points to the current distroseries

  [ Danny Tamez ]
  * lp:~zematynnad/software-center/rename_host_var_918270:
    - rename the env variable SOFTWARE_CENTER_BUY_HOST  to the more
      correct SOFTWARE_CENTER_AGENT_HOST, but support the former as a
      fallback, update corresponding unit test (LP: #918270)
  * lp:~zematynnad/software-center/version_number_833877:
    - show version number of apps from the software-center-agent as
      well (LP: #833877)

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/staging-certs-2:
    - add new SOFTWARE_CENTER_FORCE_DISABLE_CERTS_CHECK environment that
      can be used to disable cert checking to run e.g. against a local dev
      instance (LP: #918746)
 -- Michael Vogt <michael.vogt@xxxxxxxxxx>   Tue, 24 Jan 2012 16:13:36 +0100

** Changed in: software-center (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/918746

Title:
  QA Tool: Add an env switch to disable certificates validation for use
  in testing

Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  It would be very useful for QA and devs to have the ability to disable
  certificates validation when testing with local/non-production
  servers. We need to add an environment variable such that we can
  switch this off if needed during testing.

  Test case for Oneiric SRU:

  NOTE: This is a QA mode feature only and will not affect normal
  operation, so the test case is to simply verify that there are no
  regressions.

  1. Install the version of software-center in oneiric-proposed.
  2. Launch Software Center and select the "For Purchase" popup menu item in the "All Software" toolbar item.
  3. Select an enticing item from the list and click the "Buy" button (note you will not need to complete the purchase to verify correct operation).
  4. Log in to your Ubuntu SSO account. 
  5. Select "Credit Card" as your method of payment.
  6. Do not fill in any info in the screen that appears. Instead, just scroll down and click the "Cancel" link.
  7. After a few seconds, the purchase will be canceled and you will be returned to the Software Center view for the item.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/918746/+subscriptions


References