# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1242992571 -7200 # Node ID 5d0d9424913fdb1f75f107836b59cc2e1de51785 # Parent af1508b7ad54ded900db28d73f4e9bb5c4fa0961 test_push_command: this test causes an author of None. This may be unintended, but we should test for it nonetheless. diff --git a/tests/test_push_command.py b/tests/test_push_command.py --- 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)