QA Tool: Add an env switch to disable certificates validation for use in testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Low
|
Gary Lasker | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It would be very useful for QA and devs to have the ability to disable certificates validation when testing with local/non-
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.
Related branches
- software-store-developers: Pending requested
-
Diff: 77 lines (+12/-27)4 files modifiedrun_fake_gtk3.sh (+0/-7)
run_local.sh (+1/-0)
run_local_gtk3.sh (+0/-18)
software-center (+11/-2)
- software-store-developers: Pending requested
-
Diff: 48 lines (+12/-3)2 files modifiedrun_local.sh (+1/-0)
softwarecenter/ui/gtk3/views/purchaseview.py (+11/-3)
Changed in software-center (Ubuntu): | |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | nobody → Gary Lasker (gary-lasker) |
status: | In Progress → Fix Committed |
summary: |
- QA Tool: Add the an env switch to disable certificates validation for - use in testing + 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 ] generic- helper and a README ui/gtk3/ review_ gui_helper. py
* lp:~mvo/software-center/improve-debug-in-piston-generic-helper:
- improve debug output of piston-
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/
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 ] CENTER_ BUY_HOST to the more CENTER_ AGENT_HOST, but support the former as a center- agent as
* lp:~zematynnad/software-center/rename_host_var_918270:
- rename the env variable SOFTWARE_
correct SOFTWARE_
fallback, update corresponding unit test (LP: #918270)
* lp:~zematynnad/software-center/version_number_833877:
- show version number of apps from the software-
well (LP: #833877)
[ Gary Lasker ] CENTER_ FORCE_DISABLE_ CERTS_CHECK environment that
* lp:~gary-lasker/software-center/staging-certs-2:
- add new SOFTWARE_
can be used to disable cert checking to run e.g. against a local dev
instance (LP: #918746)
-- Michael Vogt <email address hidden> Tue, 24 Jan 2012 16:13:36 +0100