/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/tests/test_http.py

Bring in bzr.dev 4005

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2007, 2008 Canonical Ltd
 
1
# Copyright (C) 2005, 2006, 2007, 2008, 2009 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
44
44
    ui,
45
45
    urlutils,
46
46
    )
 
47
from bzrlib.symbol_versioning import (
 
48
    deprecated_in,
 
49
    )
47
50
from bzrlib.tests import (
48
51
    http_server,
49
52
    http_utils,
1260
1263
    def test_read_redirected_bundle_from_url(self):
1261
1264
        from bzrlib.bundle import read_bundle_from_url
1262
1265
        url = self.old_transport.abspath('bundle')
1263
 
        bundle = read_bundle_from_url(url)
 
1266
        bundle = self.applyDeprecated(deprecated_in((1, 12, 0)),
 
1267
                read_bundle_from_url, url)
1264
1268
        # If read_bundle_from_url was successful we get an empty bundle
1265
1269
        self.assertEqual([], bundle.revisions)
1266
1270