Mercurial > hgsubversion
changeset 349:5d0d9424913f
test_push_command: this test causes an author of None.
This may be unintended, but we should test for it nonetheless.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 22 May 2009 13:42:51 +0200 |
parents | af1508b7ad54 |
children | b6f9e270f103 |
files | tests/test_push_command.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_push_command.py +++ b/tests/test_push_command.py @@ -101,6 +101,9 @@ class PushTests(test_util.TestBase): self.assertEqual(tip.parents()[0].node(), expected_parent) self.assertEqual(tip['adding_file'].data(), 'foo') self.assertEqual(tip.branch(), 'default') + # unintended behaviour: + self.assertNotEqual('an_author', tip.user()) + self.assertEqual('None', tip.user().rsplit('@', 1)[0]) finally: os.kill(self.svnserve_pid, 9)