twisted 13.2.0 broke u1trial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-dev-tools |
Fix Released
|
Undecided
|
dobey | ||
ubuntuone-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
dobey |
Bug Description
The new twisted 13.2.0 in trusty changed some argument handling in trial, which breaks the u1trial wrapper around trial. This results in the following error:
./run-tests
Traceback (most recent call last):
File "bin/u1trial", line 40, in <module>
main()
File "/tmp/adt-
runner, options = _get_runner_
File "/tmp/adt-
options = runner.
File "/tmp/adt-
super(
File "/usr/lib/
usage.
File "/usr/lib/
super(Options, self).__init__()
File "/tmp/adt-
super(
File "/tmp/adt-
(long_opts, short_opts, docs, defaults, syns, dispatch) = _get()
File "/tmp/adt-
has_
File "/tmp/adt-
raise ValueError('Failed to parse argument: %s' % _arg)
ValueError: Failed to parse argument: ['order', 'o', None, 'Specify what order to run test cases and methods. See --help-orders for more info.', <function _checkKnownRunOrder at 0x2742f50>]
make[1]: *** [override_
The new twisted has also removed the _parse function from twisted.web.client, which breaks some further tests.
Related branches
- Mike McCracken (community): Approve
-
Diff: 40 lines (+7/-3)2 files modifiedubuntuone/devtools/testcases/tests/test_squid_testcase.py (+5/-1)
ubuntuone/devtools/utils.py (+2/-2)
Changed in ubuntuone-dev-tools (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntuone-dev-tools: | |
status: | New → In Progress |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntuone-dev-tools: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-dev-tools: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package ubuntuone-dev-tools - 13.10-0ubuntu2
---------------
ubuntuone-dev-tools (13.10-0ubuntu2) trusty; urgency=medium
* debian/control: patches/ 00_bzr- twisted- regression. patch:
- Update standards version.
* debian/
- Update code to work with API breaks in twisted 13.2.0. (LP: #1267982)
-- Rodney Dawes <email address hidden> Fri, 10 Jan 2014 17:26:39 -0500