Merge lp:~dobey/dirspec/update-4-0 into lp:dirspec/stable-4-0
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-07-19 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 7 |
| Proposed branch: | lp:~dobey/dirspec/update-4-0 |
| Merge into: | lp:dirspec/stable-4-0 |
| Diff against target: |
828 lines (+333/-129) 8 files modified
dirspec/basedir.py (+17/-13) dirspec/tests/__init__.py (+25/-4) dirspec/tests/test_basedir.py (+19/-31) dirspec/tests/test_utils.py (+151/-44) dirspec/utils.py (+95/-13) run-tests (+20/-11) run-tests.bat (+2/-10) setup.py (+4/-3) |
| To merge this branch: | bzr merge lp:~dobey/dirspec/update-4-0 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mike McCracken (community) | Approve on 2012-07-18 | ||
| Brian Curtin (community) | 2012-07-18 | Approve on 2012-07-18 | |
|
Review via email:
|
|||
Commit Message
[Rodney Dawes]
Port to Python 3
Stop using twisted trial as the test runner and as the base test case
Use setuptools test runner support to run the tests
Use testtools.testcase as the base test case
Fix the license header in run-tests to use LGPL-3 as it should have been
Fix some pep8 errors
[Mike McCracken]
Add a generic API for discovering paths to program executables
Fix typo in windows path definition. (LP: #1026369)
| Ubuntu One Auto Pilot (otto-pilot) wrote : | # |
| Ubuntu One Auto Pilot (otto-pilot) wrote : | # |
The attempt to merge lp:~dobey/dirspec/update-4-0 into lp:dirspec/stable-4-0 failed. Below is the output from the failed tests.
running build
running build_py
creating build
creating build/lib.
creating build/lib.
copying dirspec/basedir.py -> build/lib.
copying dirspec/__init__.py -> build/lib.
copying dirspec/utils.py -> build/lib.
running test
running egg_info
creating dirspec.egg-info
writing dirspec.
writing top-level names to dirspec.
writing dependency_links to dirspec.
writing manifest file 'dirspec.
reading manifest file 'dirspec.
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.
running build_ext
running build
running build_py
creating build/lib
creating build/lib/dirspec
copying dirspec/basedir.py -> build/lib/dirspec
copying dirspec/__init__.py -> build/lib/dirspec
copying dirspec/utils.py -> build/lib/dirspec
running test
running egg_info
writing dirspec.
writing top-level names to dirspec.
writing dependency_links to dirspec.
reading manifest file 'dirspec.
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.
running build_ext
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en-US.UTF-8)
+ python ./setup.py build test clean
test_darwin_pkgd (dirspec.
dirspec.
test_darwin_
dirspec.
test_darwin_
dirspec.
test_linux_
dirspec.
test_linux_
dirspec.
test_get_
dirspec.
test_get_data_dirs (dirspec.
dirspec.
test_get_
dirspec.
test_get_
dirspec.
test_get_
dirspec.
- 7. By dobey on 2012-07-19
-
[Rodney Dawes]
Port to Python 3
Stop using twisted trial as the test runner and as the base test case
Use setuptools test runner support to run the tests
Use testtools.testcase as the base test case
Fix the license header in run-tests to use LGPL-3 as it should have been
Fix some pep8 errors[Mike McCracken]
Add a generic API for discovering paths to program executables
Fix typo in windows path definition. (LP: #1026369)

The attempt to merge lp:~dobey/dirspec/update-4-0 into lp:dirspec/stable-4-0 failed. Below is the output from the failed tests.
running build linux-x86_ 64-2.7 linux-x86_ 64-2.7/ dirspec linux-x86_ 64-2.7/ dirspec linux-x86_ 64-2.7/ dirspec linux-x86_ 64-2.7/ dirspec egg-info/ PKG-INFO egg-info/ top_level. txt egg-info/ dependency_ links.txt egg-info/ SOURCES. txt' egg-info/ SOURCES. txt' egg-info/ SOURCES. txt' egg-info/ PKG-INFO egg-info/ top_level. txt egg-info/ dependency_ links.txt egg-info/ SOURCES. txt' egg-info/ SOURCES. txt'
running build_py
creating build
creating build/lib.
creating build/lib.
copying dirspec/basedir.py -> build/lib.
copying dirspec/__init__.py -> build/lib.
copying dirspec/utils.py -> build/lib.
running test
running egg_info
creating dirspec.egg-info
writing dirspec.
writing top-level names to dirspec.
writing dependency_links to dirspec.
writing manifest file 'dirspec.
reading manifest file 'dirspec.
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.
running build_ext
running build
running build_py
creating build/lib
creating build/lib/dirspec
copying dirspec/basedir.py -> build/lib/dirspec
copying dirspec/__init__.py -> build/lib/dirspec
copying dirspec/utils.py -> build/lib/dirspec
running test
running egg_info
writing dirspec.
writing top-level names to dirspec.
writing dependency_links to dirspec.
reading manifest file 'dirspec.
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.
running build_ext
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en-US.UTF-8) tests.test_ utils.DarwinPkg dTestCase) tests.test_ utils.DarwinPkg dTestCase. test_darwin_ pkgd ... ok pkgd_raises_ nopath (dirspec. tests.test_ utils.DarwinPkg dTestCase) tests.test_ utils.DarwinPkg dTestCase. test_darwin_ pkgd_raises_ nopath ... ok pkgd_raises_ on_no_appnames (dirspec. tests.test_ utils.DarwinPkg dTestCase) tests.test_ utils.DarwinPkg dTestCase. test_darwin_ pkgd_raises_ on_no_appnames ... ok no_src_ relative_ path (dirspec. tests.test_ utils.PosixTest Case) tests.test_ utils.PosixTest Case.test_ linux_no_ src_relative_ path ... ok src_relative_ path_exists (dirspec. tests.test_ utils.PosixTest Case) tests.test_ utils.PosixTest Case.test_ linux_src_ relative_ path_exists ... ok config_ dirs (dirspec. tests.test_ utils.TestBaseD irectoryWindows ) tests.test_ utils.TestBaseD irectoryWindows .test_get_ config_ dirs ... ok tests.test_ utils.TestBaseD irectoryWindows ) tests.test_ utils.TestBaseD irectoryWindows .test_get_ data_dirs ... ok env_path_ no_var (dirspec. tests.test_ utils.TestBaseD irectoryWindows ) tests.test_ utils.TestBaseD irectoryWindows .test_get_ env_path_ no_var ... skipped u'UnicodeEncode Error: bug #907053' env_path_ var (dirspec. tests.test_ utils.TestBaseD irectoryWindows ) tests.test_ utils.TestBaseD irectoryWindows .test_get_ env_path_ var ... skipped u'UnicodeEncode Error: bug #907053' special_ folders (dirspec. tests.test_ utils.TestBaseD irectoryWindows ) tests.test_ utils.TestBaseD irectoryWindows .test_get_ special_ folders ... skipped u'Win32...
+ python ./setup.py build test clean
test_darwin_pkgd (dirspec.
dirspec.
test_darwin_
dirspec.
test_darwin_
dirspec.
test_linux_
dirspec.
test_linux_
dirspec.
test_get_
dirspec.
test_get_data_dirs (dirspec.
dirspec.
test_get_
dirspec.
test_get_
dirspec.
test_get_
dirspec.