~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_urlutils.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-10 23:27:14 UTC
  • mto: (5268.7.8 transport-segments)
  • mto: This revision was merged to the branch mainline in revision 6062.
  • Revision ID: jelmer@samba.org-20110810232714-ifyj77n3sc251b7f
Fix tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
856
856
        self.assertEquals(parsed1, parsed2)
857
857
        self.assertEquals(parsed1, parsed1)
858
858
        parsed2.path = '/two'
859
 
        self.assertNotEquals(parsed1, parsed1)
 
859
        self.assertNotEquals(parsed1, parsed2)
860
860
 
861
861
    def test_repr(self):
862
862
        parsed = urlutils.URL.from_string('http://[1:2:3::40]:80/one')
863
 
        self.assertEquals("URL('http', None, None, '1:2:3::40', 80, '/one')",
 
863
        self.assertEquals(
 
864
            "<URL('http', None, None, '1:2:3::40', 80, '/one')>",
864
865
            repr(parsed))
865
866