~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Vincent Ladeuil
  • Date: 2016-02-01 16:52:49 UTC
  • mto: (6614.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6615.
  • Revision ID: v.ladeuil+lp@free.fr-20160201165249-pjd165c0e37whpb4
Fix assertNotEquals being deprecated by using assertNotEqual.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2012, 2015 Canonical Ltd
 
1
# Copyright (C) 2005-2012, 2015, 2016 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
2032
2032
        t = self._transport('http://www.example.com/foo')
2033
2033
        r = t._redirected_to('http://www.example.com/foo',
2034
2034
                             'ftp://www.example.com/foo')
2035
 
        self.assertNotEquals(type(r), type(t))
 
2035
        self.assertNotEqual(type(r), type(t))
2036
2036
        self.assertEquals('ftp://www.example.com/foo/', r.external_url())
2037
2037
 
2038
2038
    def test_redirected_to_same_host_specific_implementation(self):