~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-07 22:29:38 UTC
  • mfrom: (1987.1.4 test_home_and_work)
  • Revision ID: pqm@pqm.ubuntu.com-20060907222938-ca415c1efe88a35c
(jam) separate out test working from test home

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
import sys
29
29
from tempfile import TemporaryFile
30
30
 
31
 
from bzrlib import bzrdir, errors, ignores
 
31
from bzrlib import bzrdir, errors
32
32
import bzrlib.branch
33
33
from bzrlib.builtins import merge
34
34
from bzrlib.osutils import pathjoin
62
62
        """Test basic branch status"""
63
63
        wt = self.make_branch_and_tree('.')
64
64
 
65
 
        ignores._set_user_ignores(['./.bazaar'])
66
 
 
67
65
        # status with no commits or files - it must
68
66
        # work and show no output. We do this with no
69
67
        # commits to be sure that it's not going to fail
95
93
        """Tests branch status with revisions"""
96
94
        wt = self.make_branch_and_tree('.')
97
95
 
98
 
        ignores._set_user_ignores(['./.bazaar'])
99
 
 
100
96
        self.build_tree(['hello.c', 'bye.c'])
101
97
        wt.add('hello.c')
102
98
        wt.add('bye.c')
153
149
        wt = self.make_branch_and_tree('.')
154
150
        b = wt.branch
155
151
 
156
 
        ignores._set_user_ignores(['./.bazaar'])
157
 
 
158
152
        self.build_tree(['directory/','directory/hello.c', 'bye.c','test.c','dir2/'])
159
153
        wt.add('directory')
160
154
        wt.add('test.c')
215
209
class TestStatus(TestCaseWithTransport):
216
210
 
217
211
    def test_status(self):
218
 
        ignores._set_user_ignores(['./.bazaar'])
219
 
 
220
212
        self.run_bzr("init")
221
213
        self.build_tree(['hello.txt'])
222
214
        result = self.run_bzr("status")[0]