tests/test-http-bundle1.t
branchstable
changeset 47318 5ac0f2a8ba72
parent 46874 84a93fa7ecfd
child 47868 8ae828fd008b
--- a/tests/test-http-bundle1.t	Tue May 04 10:46:50 2021 +0200
+++ b/tests/test-http-bundle1.t	Thu May 20 14:20:39 2021 -0400
@@ -192,10 +192,10 @@
   $ cat pid >> $DAEMON_PIDS
 
   $ cat << EOF > get_pass.py
-  > import getpass
-  > def newgetpass(arg):
+  > from mercurial import util
+  > def newgetpass():
   >   return "pass"
-  > getpass.getpass = newgetpass
+  > util.get_password = newgetpass
   > EOF
 
   $ hg id http://localhost:$HGPORT2/