/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 von Gagern
  • Date: 2010-05-02 20:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 5203.
  • Revision ID: martin.vgagern@gmx.net-20100502201025-ssuldxi8i98desfh
Added blackbox tests for --directory option.

Added tests for the new --directory (-d) option to these commands: added,
annotate, bind, cat, clean-tree, deleted, export, ignore, ignored,
lookup-revision, ls, modified, nick, re-sign, unbind, unknowns.

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)