unittests, ui_factory & Http Auth
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue Feb 3 10:00:43 GMT 2009
>>>>> "Viktor" == Viktor Nagy <viktor.nagy at gmail.com> writes:
Viktor> Hi,
Viktor> I am trying to integrate bzr with a service I'm developing, and would like
Viktor> to write a python library to simplify "desktop" integration. The service
Viktor> uses bzr+http with http auth, and can't find out how to write a unittest
Viktor> that would "ask" for some test credentials.
Did you look at bzrlib.tests.TestUIFactory ?
Some http tests already use it, look at bzrlib.tests.test_http for examples.
Vincent
More information about the bazaar
mailing list