~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2005-12-13 20:13:15 UTC
  • mto: (1185.60.3 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 1530.
  • Revision ID: abentley@panoramicfeedback.com-20051213201315-8f8f4ab3bc677d35
Added verbose option to bzr add, to list all ignored files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
 
 
18
# Mr. Smoketoomuch: I'm sorry?
 
19
# Mr. Bounder: You'd better cut down a little then.
 
20
# Mr. Smoketoomuch: Oh, I see! Smoke too much so I'd better cut down a little
 
21
#                   then!
18
22
 
19
23
"""Black-box tests for bzr.
20
24
 
674
678
                           'added top.txt',
675
679
                           'ignored 1 file(s) matching "CVS"'],
676
680
                          results)
 
681
        out = self.run_bzr_captured(['add', '-v'], retcode=0)[0]
 
682
        results = sorted(out.rstrip('\n').split('\n'))
 
683
        self.assertEquals(['If you wish to add some of these files, please'\
 
684
                           ' add them by name.',
 
685
                           'ignored CVS matching "CVS"'],
 
686
                          results)
677
687
 
678
688
    def test_add_quiet_is(self):
679
689
        """add -q does not print the names of added files."""