tests/test-blackbox.t
changeset 18787 f56278a0a0c5
parent 18786 ed39a8f94e95
child 18836 a7d0ddc7540b
--- a/tests/test-blackbox.t	Wed Mar 20 13:40:05 2013 -0700
+++ b/tests/test-blackbox.t	Wed Mar 20 13:40:06 2013 -0700
@@ -1,7 +1,6 @@
 setup
   $ cat > mock.py <<EOF
   > from mercurial import util
-  > import getpass
   > 
   > def makedate():
   >     return 0, 0
@@ -10,7 +9,7 @@
   > # mock the date and user apis so the output is always the same
   > def uisetup(ui):
   >     util.makedate = makedate
-  >     getpass.getuser = getuser
+  >     util.getuser = getuser
   > EOF
   $ cat >> $HGRCPATH <<EOF
   > [extensions]