/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/blackbox/test_pack.py

  • Committer: Martin
  • Date: 2010-04-22 18:36:13 UTC
  • mto: (5177.1.1 integration2)
  • mto: This revision was merged to the branch mainline in revision 5179.
  • Revision ID: gzlist@googlemail.com-20100422183613-gruiwv2xsrjf0nhp
Fix more tests which were failing under -OO that had been missed earlier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2007 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
18
18
"""Tests of the 'bzr pack' command."""
19
19
import os
20
20
 
21
 
from bzrlib import tests
22
 
 
23
 
 
24
 
class TestPack(tests.TestCaseWithTransport):
 
21
from bzrlib.tests.blackbox import ExternalBase
 
22
from bzrlib.workingtree import WorkingTree
 
23
 
 
24
 
 
25
class TestPack(ExternalBase):
25
26
 
26
27
    def _make_versioned_file(self, path, line_prefix='line', total_lines=10):
27
28
        self._make_file(path, line_prefix, total_lines, versioned=True)