/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_account.py

merge bzr.dev@3883

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007 Canonical Ltd
 
1
# Copyright (C) 2007, 2008 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
61
61
        # Test formatting of NoRegisteredSSHKeys exception
62
62
        error = account.NoRegisteredSSHKeys(user='test-user')
63
63
        self.assertEqualDiff('The user test-user has not registered any '
64
 
                             'SSH keys with Launchpad.', str(error))
 
64
            'SSH keys with Launchpad.\n'
 
65
            'See <https://launchpad.net/people/+me>',
 
66
            str(error))
65
67
 
66
68
    def test_set_lp_login_updates_authentication_conf(self):
67
69
        self.assertIs(None, account._get_auth_user())