help needed: bzr 2.1.0b4, scmproj tests: NotImplementedError: SilentUIFactory doesn't support make_output_stream

Alexander Belchenko bialix at ukr.net
Wed Dec 23 09:20:09 GMT 2009


https://bugs.launchpad.net/bzr/+bug/499757

ERROR: test__create_skeleton 
(bzrlib.plugins.scmproj.tests.test_project.TestProject)

vvvv[log from 
bzrlib.plugins.scmproj.tests.test_project.TestProject.test__create_skeleton]
4.281 bzr arguments: ['--no-aliases', '--builtin', 'init', '-q', 
'./.scmproj']
4.297 encoding stdout as osutils.get_user_encoding() 'cp1251'
4.312 opening working tree 'C:/tmp/testbzr-w3vs6v.tmp'

^^^^[log from 
bzrlib.plugins.scmproj.tests.test_project.TestProject.test__create_skeleton]
----------------------------------------------------------------------
Traceback (most recent call last):
   File "C:\work\Bazaar\plugins\scmproj\tests\test_project.py", line 
479, in test__create_skeleton
   File "C:\work\Bazaar\plugins\scmproj\project.py", line 137, in 
_create_skeleton
   File "C:\work\Bazaar\plugins\scmproj\vcs.py", line 105, in create_branch
   File "bzrlib\commands.pyo", line 1027, in run_bzr
   File "bzrlib\commands.pyo", line 636, in run_argv_aliases
   File "bzrlib\commands.pyo", line 600, in _setup_outf
   File "bzrlib\ui\__init__.pyo", line 149, in make_output_stream
   File "bzrlib\ui\__init__.pyo", line 154, in _make_output_stream_explicit
NotImplementedError: SilentUIFactory doesn't support make_output_stream


It works from command-line though.

What should I change in my tests to conform new bzr API?




More information about the bazaar mailing list