Merge lp:~elopio/u1-test-utils/configglue into lp:u1-test-utils
Status: | Superseded |
---|---|
Proposed branch: | lp:~elopio/u1-test-utils/configglue |
Merge into: | lp:u1-test-utils |
Prerequisite: | lp:~elopio/u1-test-utils/make_unique_user_test |
Diff against target: |
516 lines (+185/-203) 10 files modified
requirements.txt (+2/-1) u1testutils/__init__.py (+2/-51) u1testutils/schema.py (+33/-0) u1testutils/selftests/unit/test_settings.py (+69/-0) u1testutils/selftests/unit/test_utils.py (+0/-96) u1testutils/settings.py (+54/-0) u1testutils/sso/data.py (+4/-1) u1testutils/sso/environment.py (+4/-1) u1testutils/sso/selftests/unit/test_data.py (+17/-52) u1testutils/sso/sst/__init__.py (+0/-1) |
To merge this branch: | bzr merge lp:~elopio/u1-test-utils/configglue |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical ISD hackers | Pending | ||
Review via email: mp+161373@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-05-03.
Commit message
If django is not installed, use u1testutils settings from the XDG config directory.
Description of the change
As we will start testing desktop applications that have nothing to do with django, we need a different way to specify the configuration parameters.
Here I propose to use a specific u1testutils file stored in one of the XDG config directories to load the values.
django_configglue doesn't depend on django, and with it we can get the values easily in the same format as we do for the django projects, so it's a nice fit.
Unmerged revisions
- 81. By Leo Arias
-
Added the ubuntuone server url config option.
- 80. By Leo Arias
-
Merged with prerequisite branch.
- 79. By Leo Arias
-
No reason to call it get_django_settings now.
- 78. By Leo Arias
-
The update must be inside the patched section.
- 77. By Leo Arias
-
Cleanup.
- 76. By Leo Arias
-
Cleanup.
- 75. By Leo Arias
-
Joined the tests. Moved the file creation to set up.
- 74. By Leo Arias
-
Use a var for the settings.
- 73. By Leo Arias
-
Added the openid section.
- 72. By Leo Arias
-
Allow to get the SSO_BASE_URL from u1testutils config too.
I misuderstood configglue docs, we actually don't need django_configglue :)