lp:ubuntuone-dev-tools/stable-4-0
- Get this branch:
- bzr branch lp:ubuntuone-dev-tools/stable-4-0
Branch merges
Branch information
- Owner:
- Ubuntu One Control Tower
- Project:
- ubuntuone-dev-tools
- Review team:
- Ubuntu One hackers
- Status:
- Mature
Recent revisions
- 83. By dobey
-
[Brian Curtin]
- Remove usage of Exception.message as it was deprecated and removed from Python 3. Check the exception's "args" attribute for the message.
- Sort out dbus related bytes/string differences surrounding subprocess pipes, environment variables, and a dbus API expecting a str argument regardless of version.
- Remove byte string formatting, instead first formatting Unicode strings and then storing encoded bytes. - 81. By Brian Curtin
-
[Brian Curtin]
- Store a list for ignore keys rather than a list on Python 2 and an iterator on Python 3
- Add support for a -3 flag to enable the tests to run against Python 3
- Enable unicode_literals for accurate text/bytes distinction to work with Python 3
- Prepare u1lint for Python 3 usage. Update imports for 3x and use the print function.
- Convert unicode type usage to use the bytes/text compatibility layer.
- Update octal literal use for Python 3
- Import StringIO from the io module for Python 3 compatibility
- Use items instead of iteritems for Python 3 compatibility.
- Adjust exception handling to work on Python 3
- Change to Python 3's print function usage via "from __future__ import print_function"
- Move long usage to int.
- Import urllib names by trying Python 3 first and falling back to Python 2
- Add a small compatibility module for Python 2 and 3 Unicode/bytes distinction
- Remove xrange usage, instead moving to range regardless of version. - 79. By dobey
-
[Rodney Dawes]
Test the new options parser
Fix up handling of temp-directory and the test path args for non-txrunner usage
Implement synonyms usage in options so some options work more correctly
Add the necessary function definitions for twisted OptionsParser to handle the coverage flag correctly
Refactor u1trial to allow multiple different test running back-ends
Implement Option handling API that is compatible with twisted trial
Remove logic from u1trial script
Fix a typo in the dbus test case
Ignore .pc directory for pep8 in run-tests
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)