Merge lp://staging/~mandel/desktopcouch/move_testing_to_platform into lp://staging/desktopcouch
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Manuel de la Peña | ||||||||||||
Approved revision: | 255 | ||||||||||||
Merged at revision: | 251 | ||||||||||||
Proposed branch: | lp://staging/~mandel/desktopcouch/move_testing_to_platform | ||||||||||||
Merge into: | lp://staging/desktopcouch | ||||||||||||
Diff against target: |
348 lines (+167/-110) 6 files modified
desktopcouch/application/platform/__init__.py (+2/-1) desktopcouch/application/platform/linux/keyring.py (+89/-0) desktopcouch/application/platform/linux/tests/test_keyring.py (+19/-3) desktopcouch/application/plugins/tests/test_plugins.py (+1/-0) desktopcouch/application/tests/__init__.py (+4/-106) run-tests.bat (+52/-0) |
||||||||||||
To merge this branch: | bzr merge lp://staging/~mandel/desktopcouch/move_testing_to_platform | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Casteleijn (community) | Approve | ||
Vincenzo Di Somma (community) | Approve | ||
Review via email: mp+45501@code.staging.launchpad.net |
Commit message
The following changes has been perform to allow tests to be ran on other platforms besides linux:
- skipped TestGnomeKeyring in those platforms that are not linux. The test will be ran on linux always and will raise an import error if gnomekeyring is not present. (lp:699749)
- moved the TestKeyring class to the platform module. Used the set_application
- added a batch that will allow to run the tests on windows. (lp:699757)
Description of the change
The following changes has been perform to allow tests to be ran on other platforms besides linux:
- skipped TestGnomeKeyring in those platforms that are not linux. The test will be ran on linux always and will raise an import error if gnomekeyring is not present. (lp:699749)
- moved the TestKeyring class to the platform module. Used the set_application
- added a batch that will allow to run the tests on windows. (lp:699757)
Looks good. Well except for the .bat file, but I don't think it's meant to. :P