diff tests/test_push_command.py @ 735:c2b9e08ecf10

maps: map a missing author to '(no author)' "None" doesn't really make much sense, so we use what 'svn log' shows instead. This also fixes mapping this author to something else.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sat, 09 Oct 2010 16:20:52 -0500
parents 4b55fb6d6847
children 86d124a8768e
line wrap: on
line diff
--- a/tests/test_push_command.py
+++ b/tests/test_push_command.py
@@ -131,7 +131,7 @@ class PushTests(test_util.TestBase):
             self.assertEqual(tip.branch(), 'default')
             # unintended behaviour:
             self.assertNotEqual('an_author', tip.user())
-            self.assertEqual('None', tip.user().rsplit('@', 1)[0])
+            self.assertEqual('(no author)', tip.user().rsplit('@', 1)[0])
         finally:
             # TODO: use svnserve.kill() in Python >2.5
             test_util.kill_process(svnserve)