Merge lp:~canonical-isd-hackers/canonical-identity-provider/fix-tests into lp:canonical-identity-provider/release
Proposed by
Simon Davy
Status: | Merged |
---|---|
Approved by: | Simon Davy |
Approved revision: | no longer in the source branch. |
Merged at revision: | 513 |
Proposed branch: | lp:~canonical-isd-hackers/canonical-identity-provider/fix-tests |
Merge into: | lp:canonical-identity-provider/release |
Prerequisite: | lp:~canonical-isd-hackers/canonical-identity-provider/paper-button |
Diff against target: |
54 lines (+18/-8) 2 files modified
identityprovider/tests/acceptance/devices/add_device.py (+7/-2) identityprovider/tests/acceptance/shared/devices.py (+11/-6) |
To merge this branch: | bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/fix-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Review via email: mp+131027@code.launchpad.net |
Commit message
Fix issues in acceptances for new PAPER_DEVICE flag and also quantal's urlparse backport
Description of the change
Fix two small issue's I encountered in the accetpance tests
To post a comment you must log in.
The acceptance suite is failing with:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= device_ google (sst.runtests. TestAdd_ Device_ Google) ------- ------- ------- ------- ------- ------- ------- ------- ------- nessita/ canonical/ cip/reviews/ .env/local/ lib/python2. 7/site- packages/ sst/runtests. py", line 284, in test nessita/ canonical/ cip/reviews/ identityprovide r/tests/ acceptance/ devices/ add_device_ google. py", line 37, in <module> from_qrcode( email) nessita/ canonical/ cip/reviews/ identityprovide r/tests/ acceptance/ shared/ devices. py", line 176, in get_key_from_qrcode otpauth. query)[ 'secret' ][0]
ERROR: test_add_
-------
Traceback (most recent call last):
File "/home/
exec self.code in context
File "/home/
aes_key = get_key_
File "/home/
b32_key = parse_qs(
KeyError: 'secret'
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1 test in 10.644s
FAILED (errors=1) ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
I think that failure is related to the changes done in this branch, so I think it needs some fixing. Please let me know if I need to tweak something else in my env.