-
Committer:
Vincent Ladeuil
-
Date:
2007-02-21 14:46:06 UTC
-
mto:
(2326.1.1 jam-integration)
-
mto:
This revision was merged to the branch mainline in
revision
2327.
-
Revision ID:
v.ladeuil+lp@free.fr-20070221144606-qoy01pue1p187j3b
Provide a better implementation for testing passwords.
*Â bzrlib/ui/__init__.py:
(UIFactory.get_login):Â Deleted.
(CLIUIFactory.get_non_echoed_password): New method allowing
overriding.
*Â bzrlib/tests/__init__.py:
(TestUIFactory.get_non_echoed_password): Allows password testing
 without worrying about echo echo.
*Â bzrlib/tests/__init__.py:
(TestUIFactory): Moved from bzrlib/tests/blackbox/__init__.py
(FakeStdin):Â Deleted.
(TestCase.run_bzr_captured): Set and reuse ui.ui_factory.stdin.
*Â bzrlib/ui/text.py:
(TextUIFactory.get_login):Â Deleted.
(TextUIFactory.get_password): Moved to CLIUIFactory.
*Â bzrlib/tests/test_ui.py:
(UITests): Delete get_login tests.
(FakeTextUIFactory): Deleted. Better implementation in
TestUIFactory.
*Â bzrlib/tests/blackbox/__init__.py:
(TestUIFactory): Moved to bzrlib/tests/__init__.py.