Merge lp:~elopio/u1-test-utils/update_sso_pages1-tests1 into lp:u1-test-utils
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Leo Arias |
Approved revision: | 92 |
Merged at revision: | 84 |
Proposed branch: | lp:~elopio/u1-test-utils/update_sso_pages1-tests1 |
Merge into: | lp:u1-test-utils |
Diff against target: |
397 lines (+250/-63) 8 files modified
fabfile/development.py (+6/-2) requirements.txt (+1/-1) u1testutils/sso/selftests/acceptance/test_sst_helpers.py (+151/-0) u1testutils/sso/selftests/unit/test_sst_helpers.py (+0/-40) u1testutils/sso/sst/__init__.py (+19/-0) u1testutils/sso/sst/pages.py (+0/-20) u1testutils/sst/__init__.py (+18/-0) u1testutils/sst/selftests/acceptance/test_string_page.py (+55/-0) |
To merge this branch: | bzr merge lp:~elopio/u1-test-utils/update_sso_pages1-tests1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil (community) | Approve | ||
Review via email: mp+172749@code.launchpad.net |
Commit message
Added acceptance tests for the SSO SST helpers, using fake string HTML pages.
Description of the change
Now that we are using data-qa-ids to identify the pages, the code necessary for the string HTML fakes is a lot less.
Also, the ubuntu one templates were released on SSO, so it will remain stable for a while and it's a good chance to add this tests.
It's a good time to focus on the error messages that we show when a test fails, and these kind of tests help a lot with this.
And finally, we are always striving for Vincent's happiness ;)
To post a comment you must log in.
Second reading always makes more sense :)
So, yeah for data-qa-ids \o/ (thanks nessita ?)
> Added the SSO acceptance tests to the suite. TODO: use vila's runner, that's a lot better than this.
see sst trunk revno 421 file src/sst/__init__.py for a very close example.
Good job !