~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Shannon Weyrick
  • Date: 2011-11-04 13:40:04 UTC
  • mfrom: (6238 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6256.
  • Revision ID: weyrick@mozek.us-20111104134004-033t2wqhc3ydzm0a
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
        self.assertResolve('bzr+ssh://bazaar.launchpad.net/+branch/ubuntu',
122
122
                           'lp:ubuntu')
123
123
 
 
124
    def test_ubuntu_invalid(self):
 
125
        """Invalid ubuntu urls don't crash.
 
126
 
 
127
        :seealso: http://pad.lv/843900
 
128
        """
 
129
        # This ought to be natty-updates.
 
130
        self.assertRaises(errors.InvalidURL,
 
131
            self.assertResolve,
 
132
            '',
 
133
            'ubuntu:natty/updates/smartpm')
 
134
 
124
135
    def test_ubuntu_apt(self):
125
136
        self.assertResolve('bzr+ssh://bazaar.launchpad.net/+branch/ubuntu/apt',
126
137
                           'lp:ubuntu/apt')