Merge lp:~ralsina/ubuntu-sso-client/testability into lp:ubuntu-sso-client
Proposed by
Roberto Alsina
Status: | Merged |
---|---|
Approved by: | Roberto Alsina |
Approved revision: | 959 |
Merged at revision: | 954 |
Proposed branch: | lp:~ralsina/ubuntu-sso-client/testability |
Merge into: | lp:ubuntu-sso-client |
Diff against target: |
92 lines (+35/-0) 3 files modified
bin/ubuntu-sso-login (+3/-0) ubuntu_sso/qt/main/__init__.py (+4/-0) ubuntu_sso/qt/main/tests/test_main.py (+28/-0) |
To merge this branch: | bzr merge lp:~ralsina/ubuntu-sso-client/testability |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Casteleijn (community) | Approve | ||
Diego Sarmentero (community) | Approve | ||
Review via email: mp+105232@code.launchpad.net |
Commit message
- Enable -testability option through the TESTABILITY environment variable (Fixes LP:984964).
Description of the change
Enables -testability through a environment variable.
To test IRL you need the testability driver and start ussoc like this:
PYTHONPATH=. TESTABILITY=1 bin/ubuntu-
To post a comment you must log in.
ubuntu_ sso/qt/ main/tests/ test_main. py: test_no_ testability] Operator not preceded by a space
environ[ 'TESTABILITY' ]=''
155: [C0322, BasicTestCase.