/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_add.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-21 04:02:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1877.
  • Revision ID: john@arbash-meinel.com-20060721040214-9db86450785a5c3e
Make set_user_ignores a private function, and update the doc string to recommend it isn't used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        
29
29
    def test_add_reports(self):
30
30
        """add command prints the names of added files."""
31
 
        ignores.set_user_ignores(['./.bazaar'])
 
31
        ignores._set_user_ignores(['./.bazaar'])
32
32
 
33
33
        self.runbzr('init')
34
34
        self.build_tree(['top.txt', 'dir/', 'dir/sub.txt', 'CVS'])
66
66
 
67
67
        "bzr add" should add the parent(s) as necessary.
68
68
        """
69
 
        ignores.set_user_ignores(['./.bazaar'])
 
69
        ignores._set_user_ignores(['./.bazaar'])
70
70
 
71
71
        self.runbzr('init')
72
72
        self.build_tree(['inertiatic/', 'inertiatic/esp'])
91
91
 
92
92
        "bzr add" should do this happily.
93
93
        """
94
 
        ignores.set_user_ignores(['./.bazaar'])
 
94
        ignores._set_user_ignores(['./.bazaar'])
95
95
 
96
96
        self.runbzr('init')
97
97
        self.build_tree(['inertiatic/', 'inertiatic/esp'])
105
105
        """Add in subdirectory should add only things from there down"""
106
106
        from bzrlib.workingtree import WorkingTree
107
107
 
108
 
        ignores.set_user_ignores(['./.bazaar'])
 
108
        ignores._set_user_ignores(['./.bazaar'])
109
109
        eq = self.assertEqual
110
110
        ass = self.assertTrue
111
111
        chdir = os.chdir