~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_shared_repository.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-27 05:35:00 UTC
  • mfrom: (4570 +trunk)
  • mto: (4634.6.29 2.0)
  • mto: This revision was merged to the branch mainline in revision 4680.
  • Revision ID: andrew.bennetts@canonical.com-20090727053500-q76zsn2dx33jhmj5
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Black-box tests for repositories with shared branches"""
18
18
 
114
114
        # be fixed.
115
115
        self.setup_smart_server_with_call_log()
116
116
        self.run_bzr(['init-repo', self.get_url('repo')])
117
 
        rpc_count = len(self.hpss_calls)
118
117
        # This figure represent the amount of work to perform this use case. It
119
118
        # is entirely ok to reduce this number if a test fails due to rpc_count
120
119
        # being too low. If rpc_count increases, more network roundtrips have
121
120
        # become necessary for this use case. Please do not adjust this number
122
121
        # upwards without agreement from bzr's network support maintainers.
123
 
        self.assertEqual(16, rpc_count)
 
122
        self.assertLength(16, self.hpss_calls)