~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Vincent Ladeuil
  • Date: 2012-08-04 14:27:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6553.
  • Revision ID: v.ladeuil+lp@free.fr-20120804142747-2t498paljijf7q7y
Remaining tests matching setup(self) that can be rewritten with super().

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
        )
488
488
 
489
489
    def setUp(self):
490
 
        http_utils.TestCaseWithWebserver.setUp(self)
 
490
        super(TestHTTPConnections, self).setUp()
491
491
        self.build_tree(['foo/', 'foo/bar'], line_endings='binary',
492
492
                        transport=self.get_transport())
493
493
 
1163
1163
                                      protocol_version=self._protocol_version)
1164
1164
 
1165
1165
    def setUp(self):
1166
 
        http_utils.TestCaseWithWebserver.setUp(self)
 
1166
        super(TestLimitedRangeRequestServer, self).setUp()
1167
1167
        # We need to manipulate ranges that correspond to real chunks in the
1168
1168
        # response, so we build a content appropriately.
1169
1169
        filler = ''.join(['abcdefghij' for x in range(102)])
1355
1355
        )
1356
1356
 
1357
1357
    def setUp(self):
1358
 
        http_utils.TestCaseWithWebserver.setUp(self)
 
1358
        super(TestRanges, self).setUp()
1359
1359
        self.build_tree_contents([('a', '0123456789')],)
1360
1360
 
1361
1361
    def create_transport_readonly_server(self):